Exclude Everywhere but Admin Area?
Note that there’s no is_admin() method for the WP_Query class. But the interesting part is that PHP will not complain about this: $query->is_admin() where $query is an instance of WP_Query. It will just always return false. This is the reason why (#src): /** * Make private/protected methods readable for backwards compatibility. * * @since 4.0.0 … Read more