{eac}Doojigger Reference

EarthAsylumConsulting

Namespaces

Extensions
Helpers
Plugin
Traits
uninstall

Interfaces, Classes, Traits and Enums

abstract_backend
{eac}Doojigger for WordPress - Plugin back-end (administration) methods and hooks.
abstract_context
Plugin context switch front-end (public) vs back-end (administration)
abstract_core
{eac}Doojigger for WordPress - Plugin core methods, hooks, and settings.
abstract_extension
{eac}Doojigger for WordPress - Base class for custom plugin extensions.
abstract_frontend
{eac}Doojigger for WordPress - Plugin front-end (public) methods and hooks.
eacDoojigger_ftp_credentials
Extension: file_system - expands on the WordPress WP_filesystem - {eac}Doojigger for WordPress
eacDoojiggerActionTimer
{eac}DoojiggerActionTimer - {eac}Doojigger for WordPress, Track the time to load (include) each plugin; Track duration of specific WP actions; Ability to time custom functions execution
eacDoojiggerAutoloader
{eac}DoojiggerAutoloader class - {eac}Doojigger for WordPress, Autoloader class for EarthAsylum Consulting {eac} Doojigger for WordPress classes and traits
eacDoojiggerEnvironment
{eac}Doojigger Environment - Set WP_ENVIRONMENT_TYPE used by wp_get_environment_type()
eacDoojiggerPluginUpdater
{eac}DoojiggerPluginUpdater class - Manage {eac}Doojigger, derivative and extension software updates

Table of Contents

is_request_type()  : bool
function: \EarthAsylumConsulting\is_request_type().
is_php_request()  : bool
function: \EarthAsylumConsulting\is_php_request().
is_admin_request()  : bool
function: \EarthAsylumConsulting\is_admin_request().
is_network_admin_request()  : bool
function: \EarthAsylumConsulting\is_network_admin_request().

Functions

is_request_type()

function: \EarthAsylumConsulting\is_request_type().

is_request_type([string $type = 'php' ]) : bool

check request uri for file type

Parameters
$type : string = 'php'
  • the file type ('php')
Return values
bool

is_php_request()

function: \EarthAsylumConsulting\is_php_request().

is_php_request() : bool

check request uri for php script

Return values
bool

is_admin_request()

function: \EarthAsylumConsulting\is_admin_request().

is_admin_request() : bool

admin-ajax & admin-post request always return is_admin() == true are we calling for the frontend or backend?

Return values
bool

is_network_admin_request()

function: \EarthAsylumConsulting\is_network_admin_request().

is_network_admin_request() : bool

admin-ajax & admin-post request always return is_network_admin() == false are we calling for network admin?

Return values
bool

Search results