Метод |
Описание |
|
add_actions ( ) |
Add actions |
|
admin_enqueue_scripts ( ) |
Enqueue scripts and styles |
|
get_attributes ( array $field, mixed $value = null ) : array |
Get the attributes for a field |
|
html ( mixed $meta, array $field ) : string |
Get field HTML |
|
normalize ( array $field ) : array |
Normalize parameters for field |
|
print_templates ( ) |
Template for media item |
|
save ( $new, $old, $post_id, $field ) |
Save meta value |
|
value ( mixed $new, mixed $old, integer $post_id, array $field ) : array | mixed |
Get meta values to save |
|