Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



found_posts_query ›

Seit2.1.0
Veraltetn/v
apply_filters_ref_array( 'found_posts_query', array( 'SELECT FOUND_ROWS()
Parameter: (2)
  • (string) $found_posts The query to run to find the found posts.
    Erforderlich: Ja
  • (WP_Query) $this The WP_Query instance (passed by reference).
    Erforderlich: Ja
Definiert in:
Codex:

Filters the query to run for retrieving the found posts.





Quellcode

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