GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
If this file is called directly, abort. More...
Static Public Member Functions | |
static | is_admin () |
Check if WordPress is_admin(), and whether we have a GravityView page. More... | |
Static Public Member Functions inherited from Request | |
static | is_add_oembed_preview () |
Is this the Add Media / From URL preview request? More... | |
static | is_admin () |
Check if WordPress is_admin(), and make sure not DOING_AJAX. More... | |
static | is_ajax () |
Is this an AJAX call in progress? More... | |
static | is_frontend () |
This is the frontend. More... | |
static | is_rest () |
Is this a REST request? Call after parse_request. More... | |
Additional Inherited Members | |
Public Member Functions inherited from Request | |
__construct () | |
is_edit_entry ( $form_id=0) | |
Checks whether this an edit entry request. More... | |
is_entry ( $form_id=0) | |
Checks whether this is a single entry request. More... | |
is_renderable () | |
Whether this request is something that is renderable. More... | |
is_search () | |
Checks whether this an entry search request. More... | |
is_view ( $return_view=true) | |
The current $post is a View, no? More... | |
If this file is called directly, abort.
The default Dashboard Request class.
Definition at line 12 of file class-gv-request-admin.php.
|
static |
Check if WordPress is_admin(), and whether we have a GravityView page.
Accepts optional $hook and $context arguments.
false
, not a GravityView page. true
if $page is passed and is the same as current page. Otherwise, the name of the page (single
, settings
, or views
) Regular check.
Assume false by default.
gravityview_is_admin_page
Is the current admin page a GravityView-related page? string | bool | $is_page | If false, no. If string, the name of the page (single , settings , or views ) |
string | $hook | The name of the page to check against. Is passed to the method. |
Definition at line 21 of file class-gv-request-admin.php.
References $args, and Utils\get().