Свойство | Type | Description | |
---|---|---|---|
$convert_type | string | The convert type. | |
$default_value | array | The default value. |
Свойство | Type | Description | |
---|---|---|---|
$file_type | string | File type. |
Méthode | Description | |
---|---|---|
format_value ( mixed $value, string $slug, integer $post_id ) : mixed | Format the value of the property before it's returned to WordPress admin or the site. | |
get_default_settings ( ) : array | Get default settings. | |
get_labels ( ) : array | Get labels. | |
html ( ) | Render property html. | |
import_value ( mixed $value, string $slug, integer $post_id ) : mixed | Import value to the property. | |
render_file_template ( ) | Render file template. | |
wp_get_attachment_metadata ( mixed $data, integer $post_id ) : mixed | Get attachment metadata. |
Méthode | Description | |
---|---|---|
is_attachment ( integer $id ) : boolean | Check if the given id is a attachment post type or not. | |
setup_actions ( ) | Setup actions. | |
setup_filters ( ) | Setup filters. |
public get_default_settings ( ) : array | ||
Résultat | array |
protected is_attachment ( integer $id ) : boolean | ||
$id | integer | |
Résultat | boolean |