breadcrumbspress_theme_arguments_{$theme}

Developer Knowledge Level

This content is intended for WordPress developers, and it may require coding knowledge of WordPress, PHP, and JavaScript. Code examples provided here may contain errors or needs some additional coding. Make sure to test the code before using it on a live website!

Definition
apply_filters( "breadcrumbspress_theme_arguments_{$theme}", $args );
Arguments
Name
Type
Description
$args
array
Arguments passed to the integration renderer.
Returns
Return the arguments array.

Filters the arguments passed to a theme integration when it renders breadcrumbs.

Replace {$theme} with the integration identifier. The current Blocksy class uses blocky as its internal identifier.

Example

This example registers a callback for the concrete hook name shown; replace the suffix for your own context.

add_filter( 'breadcrumbspress_theme_arguments_generatepress', function( $args ) {
    $args['class'] = 'custom-trail';
    return $args;
}, 10, 1 );
Rate this reference
0
0
2

You are not allowed to rate this post.

Leave a Comment

0
0
0
0
0
0
0
0
0