PHP Interface Inpsyde\MultilingualPress\Common\PluginProperties

Since: 3.0.0
Inheritance: extends ArrayAcces\ArrayAccess
Show file Open project: inpsyde/multilingual-press Interface Usage Examples

Public Methods

Method Description
plugin_base_name ( ) : string Returns the base name of the plugin.
plugin_dir_path ( ) : string Returns the absolute path of the plugin root folder.
plugin_dir_url ( ) : string Returns the URL of the plugin root folder.
plugin_file_path ( ) : string Returns the absolute path of main plugin file.
plugin_name ( ) : string Returns the plugin name as given in the plugin headers.
plugin_website ( ) : string Returns the URL of the plugin website.
text_domain ( ) : string Returns the plugin text domain.
text_domain_path ( ) : string Returns the absolute path of the folder with the plugin translation files.
version ( ) : string Returns the plugin version.

Method Details

plugin_base_name() public method

Returns the base name of the plugin.
Since: 3.0.0
public plugin_base_name ( ) : string
return string The base name of the plugin.

plugin_dir_path() public method

Returns the absolute path of the plugin root folder.
Since: 3.0.0
public plugin_dir_path ( ) : string
return string The absolute path of the plugin root folder.

plugin_dir_url() public method

Returns the URL of the plugin root folder.
Since: 3.0.0
public plugin_dir_url ( ) : string
return string The URL of the plugin root folder.

plugin_file_path() public method

Returns the absolute path of main plugin file.
Since: 3.0.0
public plugin_file_path ( ) : string
return string The absolute path of main plugin file.

plugin_name() public method

Returns the plugin name as given in the plugin headers.
Since: 3.0.0
public plugin_name ( ) : string
return string The plugin name.

plugin_website() public method

Returns the URL of the plugin website.
Since: 3.0.0
public plugin_website ( ) : string
return string The URL of the plugin website

text_domain() public method

Returns the plugin text domain.
Since: 3.0.0
public text_domain ( ) : string
return string The plugin text domain.

text_domain_path() public method

Returns the absolute path of the folder with the plugin translation files.
Since: 3.0.0
public text_domain_path ( ) : string
return string The absolute path of the folder with the plugin translation files.

version() public method

Returns the plugin version.
Since: 3.0.0
public version ( ) : string
return string The plugin version.