generateblocks icon indicating copy to clipboard operation
generateblocks copied to clipboard

Query Loop Paging buttons is missing: `generateblocks_dynamic_url_output`

Open diggeddy opened this issue 3 years ago • 0 comments

Description

We are unable to filter the URL like so:

add_filter( 'generateblocks_dynamic_url_output', function( $url, $attributes ) { if ( ! empty( $url ) && ! empty( $attributes['className'] ) && 'paging-jump-link' === $attributes['className'] ) { $url = $url . '&var=var#blog-posts'; } return $url; }, 10, 2 );

As the generateblocks_dynamic_url_output filter is not present in a paging button,

diggeddy avatar Nov 05 '22 10:11 diggeddy