wpseo_sitemap_post_statuses

wpseo_sitemap_post_statuses

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.24.1

apply_filters('wpseo_sitemap_post_statuses') is found 1 times:

  • /inc/sitemaps/class-sitemaps.php line 627
    		 *
    		 * @param array  $post_statuses Post status list, defaults to array( 'publish' ).
    		 * @param string $type          Post type or SITEMAP_INDEX_TYPE.
    		 */
    		$post_statuses = apply_filters( 'wpseo_sitemap_post_statuses', [ 'publish' ], $type );
    
    		if ( ! is_array( $post_statuses ) || empty( $post_statuses ) ) {
    			$post_statuses = [ 'publish' ];
    		}
    
    		if ( ( $type === self::SITEMAP_INDEX_TYPE || $type === 'attachment' )
    
wpseo_sitemap_post_statuses - WordPress Hooks

wpseo_sitemap_post_statuses

wpseo_sitemap_post_statuses

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.11.2

apply_filters('wpseo_sitemap_post_statuses') is found 1 times:

  • /inc/sitemaps/class-sitemaps.php line 604
    Warning: file(/home/c6974294/public_html/wp-plugin-api.com/sources/plugin/wordpress-seo/wordpress-seo.11.2/inc/sitemaps/class-sitemaps.php): Failed to open stream: No such file or directory in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 154

    Warning: Trying to access array offset on value of type bool in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 600 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 601 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 602 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 603 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 604 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 605 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 606 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 607 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 608 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 609 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167