Class WP_Data_Access

Core plugin class used to define:

author Peter Schulz
since 1.0.0
see \WP_Data_Access_Admin
see \WP_Data_Access_Public
see \WP_Data_Access_i18n
see \WP_Data_Access_Loader
package plugin\includes

 Methods

add_id_to_script()

add_id_to_script($tag, $handle, $src) 

Parameters

$tag

$handle

$src

Start plugin loader

run() 
since 1.0.0

Add plugin settings page

wpdataaccess_register_settings_page() 

Show settings page

wpdataaccess_settings_page() 

Add admin hooks

define_admin_hooks() 

Initiates \WP_Data_Access_Admin (admin functionality) and \WPDataAccess\Utilities\WPDA_Export (export functionality). Adds the appropriate actions to the loader.

since 1.0.0
see \WP_Data_Access_Admin
see \WPDataAccess\Utilities\WPDA_Export

Add public hooks

define_public_hooks() 

Initiates \WP_Data_Access_Public (public functionality), \WPDataAccess\Data_Tables\WPDA_Data_Tables (ajax call to support server side jQuery DataTables functionality). Adds the appropriate actions to the loader.

since 1.0.0
see \WP_Data_Access_Public
see \WPDataAccess\Data_Tables\WPDA_Data_Tables
see \WPDataAccess\Data_Dictionary\WPDA_Dictionary_Lists

Load required dependencies

load_dependencies() 

Loads required plugin files and initiates the plugin loader.

since 1.0.0
see \WP_Data_Access_Loader

Set locale for internationalization

set_locale() 
since 1.0.0
see \WP_Data_Access_i18n

 Properties

 

Reference to plugin loader

$loader : \WP_Data_Access_Loader

Default

since 1.0.0
see \WP_Data_Access_Loader