the_bsearch_permalink
Filters the display of the permalink for the current post.
Type: filter
Since: 3.0.0
Source: includes/general-template.php line 910
Parameters
| Type | Name | Description |
|---|---|---|
string |
$permalink |
The permalink for the current post. |
int|WP_Post |
$post |
WP_Post object. |
array |
$query_args |
Additional query arguments to add to the permalink. |
Usage
add_filter( 'the_bsearch_permalink', function($permalink, $post, $query_args) {
// ...
return $permalink;
} );