PHP Class Apple_News, apple-news

Since: 0.2.0
Author: Federico Ramirez
Show file 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 static property

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

$option_name public static property

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

$plugin_domain protected property

Plugin domain.
protected string $plugin_domain
return string

$plugin_slug protected property

Plugin slug.
protected string $plugin_slug
return string

$version public static property

Plugin version.
public static string $version
return string

$wordpress_org_support_url public static property

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