PHP Class Papi_Property_Group, papi

Inheritance: extends Papi_Property_Repeater
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.

Méthodes protégées

Méthode Description
get_settings_properties ( ) : array Get settings properties.
prepare_properties ( array $properties ) : array Prepare properties and set right slug and value.

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_settings_properties() protected méthode

Get settings properties.
protected get_settings_properties ( ) : array
Résultat array

html() public méthode

Render property html.
public html ( )

prepare_properties() protected méthode

Prepare properties and set right slug and value.
protected prepare_properties ( array $properties ) : array
$properties array
Résultat array