메소드 | 설명 | |
---|---|---|
__construct ( ) | Placeholder method | |
action_loop_end ( $query ) | Make sure the correct blog is restored | |
action_loop_start ( $query ) | Ensure we've started a loop before we allow ourselves to change the blog | |
action_pre_get_posts ( $query ) | Disables cache_results, adds header. | |
action_the_post ( array $post ) | Switch to the correct site if the post site id is different than the actual one | |
factory ( ) : object | Return a singleton instance of the current class | |
filter_found_posts_query ( string $sql, object $query ) : string | Remove the found_rows from the SQL Query | |
filter_posts_request ( string $request, object $query ) : string | Filter query string used for get_posts(). Query for posts and save for later. | |
filter_the_posts ( array $posts, &$query ) : array | Filter the posts array to contain ES query results in EP_Post form. Pull previously queried posts. | |
setup ( ) | Checks to see if we should be integrating and if so, sets up the appropriate actions and filters. |
public action_loop_start ( $query ) |
public action_pre_get_posts ( $query ) | ||
$query |
public action_the_post ( array $post ) | ||
$post | array |
public filter_the_posts ( array $posts, &$query ) : array | ||
$posts | array | |
리턴 | array |
public setup ( ) |