Class Sidecar_Plugin_Base
- Sidecar_Singleton_Base
- Sidecar_Plugin_Base
public
|
|
public
boolean
|
|
public
boolean|RESTian_Client
|
|
public
|
|
public
|
|
public
|
|
public
|
#
_save_post( mixed $post_id )
Delete the flag indicating that a post needs external files (CSS styles and JS scripts) for each shortcode we have in case the newly saved post now has changed the use of the shortcodes. |
public
boolean
|
#
is_confirm_plugin_deletion( )
Used to check if we are on a plugin page that is asking about deletion. |
public
boolean
|
#
is_verified_plugin_deletion( )
Used to check if we are on a plugin page that is deleting (a) plugin(s). |
public
boolean
|
#
is_plugin_deletion( )
Used to check if we are a plugin page askin about deletion or processing deletion request. |
public static
|
|
public
boolean
|
|
public
boolean
|
|
public
|
#
_activate_plugin( )
This is used for the "activate_{$this->plugin_id}" hook when $this->is_plugin_page_action(). |
public
|
#
_plugins_loaded( )
This is used for the "activate_{$this->plugin_id}" hook when $this->is_plugin_page_action(). |
public
array|boolean
|
|
public
boolean
|
|
public
|
|
public
boolean
|
|
public
boolean
|
|
public
|
|
public
array
|
|
public
|
|
public
array
|
|
public
array
|
|
public
boolean
|
|
public
|
|
public
|
|
public
mixed|
|
|
public
mixed|
|
|
public
mixed|
|
|
public
mixed|
|
|
public
mixed|
|
|
public
boolean
|
|
public
|
|
public
|
|
public
array
|
|
public
boolean|string|
|
|
public
array
|
|
public
|
|
public
|
|
public
array
|
|
public
array
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
mixed
|
|
public
mixed
|
|
public
mixed
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array|boolean
|
|
public
|
|
public
boolean|
|
|
public
|
|
public
boolean
|
|
public
string
|
|
public
boolean
|
|
public
boolean
|
|
public
|
|
public
boolean
|
|
public
string
|
#
get_image_url( mixed $image_name, mixed|array $values = array() )
Get by name a previously registered image with optional variable value replacement |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
array|
|
|
public
|
|
public
|
|
public
boolean
|
#
is_authenticated( )
This function name will be more logical to people, but underneath it is 'has_grant()' |
public
boolean
|
|
public
boolean
|
|
public
array
|
|
public
array
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
#
_pre_update_option( array $new_value, array $old_value )
Capture values from form but cause update_option() to be bypassed. We'll update in the shutdown hook. |
public
|
|
public
|
|
public
|
|
public
boolean|string
|
__construct(),
_get_called_class(),
add_action(),
add_filter(),
call(),
get(),
this()
|
public
string
|
$plugin_class |
|
|
public
string
|
$plugin_class_base |
|
|
public
string
|
$plugin_name |
|
|
public
string
|
$plugin_slug |
|
#
Dashed version of $this->plugin_name |
public
string
|
$plugin_id |
|
#
ID of plugin used by WordPress in get_option('active_plugins') |
public
string
|
$plugin_version |
|
|
public
string
|
$plugin_title |
|
|
public
string
|
$plugin_label |
|
|
public
string
|
$css_base |
|
|
public
string
|
$plugin_file |
|
|
public
string
|
$plugin_path |
|
|
public
string
|
$min_php | '5.2.4' |
#
Minimum PHP version, defaults to min version for WordPress |
public
string
|
$min_wp | '3.2' |
#
Minimum WordPress version, defaults to first version requiring PHP 5.2.4. |
protected
array
|
$_urls | array() |
#
Array of URLs defined for handle use by plugin. |
protected
array
|
$_images | array() |
#
Array of Image file names defined for handle use by plugin. |
protected
boolean|array
|
$_shortcodes | false |
|
protected
boolean|array
|
$_forms | false |
|
protected
boolean|array
|
$_admin_pages | array() |
|
protected
array
|
$_meta_links | array() |
#
Array of Meta Links for the WordPress plugin page. |
protected
boolean|array|RESTian_Client
|
$_api | false |
|
protected
|
$_current_admin_page |
|
|
protected
|
$_current_form |
|
|
protected
boolean
|
$_initialized | false |
|
protected
|
$_plugin_settings |
|
|
protected
mixed
|
$_default_settings_values |
|
|
public
string
|
$option_name |
|
|
public
string
|
$needs_ajax | false |
|
public
boolean
|
$needs_settings | true |
|
protected
boolean
|
$_admin_initialized | false |