Properties

$version

$version : \Plugin

Type

\Plugin — version

$search

$search : 

Type

$plugin_path

$plugin_path : 

Type

$plugin_url

$plugin_url : 

Type

$plugin_slug

$plugin_slug : string

Use this value as the text domain when translating strings from this plugin. It should match the Text Domain field set in the plugin header, as well as the directory name of the plugin.

Additionally, text domains should only contain letters, number and hypens, not underscores or spaces.

Type

string — The unique ID (slug) of this plugin

$plugin_network_activated

$plugin_network_activated : string

Type

string — Check for plugin network activation

$instance

$instance : \obj

Type

\obj — The one true ajaxLiveSearch

Methods

instance()

instance() : \self::$instance

Get active instance

Returns

\self::$instance —

The one true ajaxLiveSearch

__construct()

__construct() 

aLs Constructor.

init()

init() : string

Inititalizes everything

Returns

string

plugin_path()

plugin_path() : string

Plugin path

Returns

string

plugin_url()

plugin_url() : string

Plugin url

Returns

string

load_plugin_textdomain()

load_plugin_textdomain() : void

Loads the textdomain

includes()

includes() : void

Include necessary files

init_hooks()

init_hooks() : void

Run action and filter hooks

upgradedb()

upgradedb() : void

Fired whenever upgrading from an older version or installing a new version