PHP Class Apple_News, apple-news

Since: 0.2.0
Author: Federico Ramirez
Datei anzeigen Open project: alleyinteractive/apple-news Class Usage Examples

Public Properties

Property Type Description
$github_support_url string Link to support for the plugin on github.
$option_name string Option name for settings.
$version string Plugin version.
$wordpress_org_support_url string Link to support for the plugin on WordPress.org.

Protected Properties

Property Type Description
$plugin_domain string Plugin domain.
$plugin_slug string Plugin slug.

Public Methods

Method Description
get_filename ( $path ) Extracts the filename for bundling an asset.
get_support_info ( $format = 'html', $with_padding = true ) : string Displays support information for the plugin.
migrate_settings ( Settings $settings ) Attempt to migrate settings from an older version of this plugin

Method Details

get_filename() public static method

This functionality is used in a number of classes that do not have a common ancestor.
public static get_filename ( $path )

get_support_info() public static method

Displays support information for the plugin.
public static get_support_info ( $format = 'html', $with_padding = true ) : string
return string

migrate_settings() public method

Attempt to migrate settings from an older version of this plugin
public migrate_settings ( Settings $settings )
$settings Settings

Property Details

$github_support_url public_oe static_oe property

Link to support for the plugin on github.
public static string $github_support_url
return string

$option_name public_oe static_oe property

Option name for settings.
public static string $option_name
return string

$plugin_domain protected_oe property

Plugin domain.
protected string $plugin_domain
return string

$plugin_slug protected_oe property

Plugin slug.
protected string $plugin_slug
return string

$version public_oe static_oe property

Plugin version.
public static string $version
return string

$wordpress_org_support_url public_oe static_oe property

Link to support for the plugin on WordPress.org.
public static string $wordpress_org_support_url
return string