PHP Class Papi_Property_Text, 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.
get_value ( ) : string Get value from the database.
html ( ) Render property html.

Method Details

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

get_value() public méthode

Get value from the database.
public get_value ( ) : string
Résultat string

html() public méthode

Render property html.
public html ( )