PHP Class Papi_Property_Text, papi

Inheritance: extends Papi_Property
Show file Open project: wp-papi/papi

Public Methods

Method 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 method

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
return array

get_default_settings() public method

Get default settings.
public get_default_settings ( ) : array
return array

get_value() public method

Get value from the database.
public get_value ( ) : string
return string

html() public method

Render property html.
public html ( )