wpseo_typecount_where, , $post_type

wpseo_typecount_where, , $post_type

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.28.1

apply_filters('wpseo_typecount_where, , $post_type') is found 1 times:

  • /inc/sitemaps/class-post-type-sitemap-provider.php line 336
    		 *
    		 * @param string $where     SQL part, defaults to empty string.
    		 * @param string $post_type Post type name.
    		 */
    		$where_filter = apply_filters( 'wpseo_typecount_where', '', $post_type );
    
    		$where = $this->get_sql_where_clause( $post_type );
    
    		$sql = "
    			SELECT COUNT({$wpdb->posts}.ID)
    			FROM {$wpdb->posts}