Uma área de pesquisa sobre o WordPress para devs e autores do tema



found_posts_query ›

Desde2.1.0
Obsoleton/a
apply_filters_ref_array( 'found_posts_query', array( 'SELECT FOUND_ROWS()
Parâmetros: (2)
  • (string) $found_posts The query to run to find the found posts.
    Required: Yes
  • (WP_Query) $this The WP_Query instance (passed by reference).
    Required: Yes
Definido em:
Codex:

Filters the query to run for retrieving the found posts.





Fonte

$this->found_posts = $wpdb->get_var( apply_filters_ref_array( 'found_posts_query', array( 'SELECT FOUND_ROWS()', &$this ) ) );