PHP Class Papi_Property_Editor, papi

Inheritance: extends Papi_Property
Afficher le fichier Open project: wp-papi/papi

Méthodes publiques

Méthode Description
format_value ( mixed $value, string $slug, integer $post_id ) : array Format the value of the property before it's returned to WordPress admin or the site.
get_default_settings ( ) : array Get default settings.
html ( ) Render property html.
mce_buttons ( array $buttons = [] ) : array Filter TinyMCE buttons (Visual tab).

Méthodes protégées

Méthode Description
add_mce_buttons ( ) Add filters to filter TinyMCE buttons.
reove_mce_buttons ( ) Remove filters that filter TinyMCE buttons.

Method Details

add_mce_buttons() protected méthode

Add filters to filter TinyMCE buttons.
protected add_mce_buttons ( )

format_value() public méthode

Format the value of the property before it's returned to WordPress admin or the site.
public format_value ( mixed $value, string $slug, integer $post_id ) : array
$value mixed
$slug string
$post_id integer
Résultat array

get_default_settings() public méthode

Get default settings.
public get_default_settings ( ) : array
Résultat array

html() public méthode

Render property html.
public html ( )

mce_buttons() public méthode

Filter TinyMCE buttons (Visual tab).
public mce_buttons ( array $buttons = [] ) : array
$buttons array
Résultat array

reove_mce_buttons() protected méthode

Remove filters that filter TinyMCE buttons.
protected reove_mce_buttons ( )