wpseo_typecount_where, , $post_type
wpseo_typecount_where, , $post_type
Appears in: wordpress-seo.28.1
Hook Type: filter
Displaying hooks found in version: wordpress-seo.28.1apply_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}