<prefix>addl_pages_only
The All In One SEO Pack prefix addl pages only hook.
Description
Parameters (1)
- 0. $pages (unknown)
- The pages.
Usage
- To run the hook, copy the example below.
- $pages = apply_filters( '{$prefix}addl_pages_only', $pages );
- if ( !empty( $pages ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the <prefix>addl_pages_only callback
- function filter_prefixaddl_pages_only( $pages ) {
- // make filter magic happen here...
- return $pages;
- };
- // add the filter
- add_filter( "{$prefix}addl_pages_only", 'filter_prefixaddl_pages_only', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( "{$prefix}addl_pages_only", 'filter_prefixaddl_pages_only', 10, 1 );
Defined (1)
The filter is defined in the following location(s).
- /modules/aioseop_sitemap.php
- $pages = apply_filters( $this->prefix . 'addl_pages_only', $pages );