bbp_has_replies_query
Deprecated replies query filter.
Description
Returns (array)
Parameters (1)
- 0. $args (array)
- The args.
Usage
- To run the hook, copy the example below.
- $args = apply_filters( 'bbp_has_replies_query', $args );
- if ( !empty( $args ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the bbp_has_replies_query callback
- function filter_bbp_has_replies_query( $args ) {
- // make filter magic happen here...
- return $args;
- };
- // add the filter
- add_filter( 'bbp_has_replies_query', 'filter_bbp_has_replies_query', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'bbp_has_replies_query', 'filter_bbp_has_replies_query', 10, 1 );
Defined (1)
The filter is defined in the following location(s).
- /includes/core/filters.php
- return apply_filters( 'bbp_has_replies_query', $args );