Function Reference: geodir_exclude_page

Summary

Exclude the virtual pages from the admin list.

Parameters

$query
(WP_Query) (required) The WP_Query instance.

Default: None

Return Values

(WP_Query)
  • instance.

Change Log

Since: 1.0.0

Source File

geodir_exclude_page() is located in geodirectory-functions/custom_taxonomy_hooks_actions.php [Line: 878]

Source Code

function geodir_exclude_page($query)
{
    add_filter('posts_where', 'geodir_exclude_page_where', 100);
    return $query;
}