found_sites_query

found_sites_query

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('found_sites_query') is found 1 times:

  • /wp-includes/class-wp-site-query.php line 745
    			 *
    			 * @param string        $found_sites_query SQL query. Default 'SELECT FOUND_ROWS()'.
    			 * @param WP_Site_Query $site_query        The `WP_Site_Query` instance.
    			 */
    			$found_sites_query = apply_filters( 'found_sites_query', 'SELECT FOUND_ROWS()', $this );
    
    			$this->found_sites = (int) $wpdb->get_var( $found_sites_query );
    		}
    	}
    
    	/**