catchresponsive_get_pagination_types
The Catch Responsive catchresponsive get pagination types hook.
Description
Parameters (1)
- 0. $pagination_types (unknown)
- The pagination types.
Usage
- To run the hook, copy the example below.
- $pagination_types = apply_filters( 'catchresponsive_get_pagination_types', $pagination_types );
- if ( !empty( $pagination_types ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the catchresponsive_get_pagination_types callback
- function filter_catchresponsive_get_pagination_types( $pagination_types ) {
- // make filter magic happen here...
- return $pagination_types;
- };
- // add the filter
- add_filter( 'catchresponsive_get_pagination_types', 'filter_catchresponsive_get_pagination_types', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'catchresponsive_get_pagination_types', 'filter_catchresponsive_get_pagination_types', 10, 1 );
Defined (1)
The filter is defined in the following location(s).
- /inc/catchresponsive-default-options.php
- return apply_filters( 'catchresponsive_get_pagination_types', $pagination_types );