pre_get_posts()
public static method
Filter the home page posts, and remove any featured post ID's from it.
Hooked onto the 'pre_get_posts' action, this changes the parameters of the
query before it gets any posts.
public static pre_get_posts ( WP_Query $query ) : WP_Query |
$query |
WP_Query |
|
return |
WP_Query |
Possibly modified WP_Query |