Property | Type | Description | |
---|---|---|---|
$advanced_content_types | array | ||
$comment | array | ||
$groups | array | ||
$instance | PodsMeta | ||
$media | array | ||
$object_identifier | integer | ||
$old_post_status | string | ||
$post_types | array | ||
$queue | array | ||
$settings | array | ||
$taxonomies | array | ||
$user | array |
Method | Description | |
---|---|---|
__construct ( ) : PodsMeta | ||
add_class_submittable ( ) | Called by 'post_edit_form_tag' action to include the classes in the | |
add_comment_meta ( ) : mixed | ||
add_meta ( $object_type, null $_null = null, integer $object_id, string $meta_key = '', string $meta_value = '', boolean $unique = false ) : boolean | integer | null | ||
add_option ( ) : mixed | ||
add_post_meta ( ) : mixed | ||
add_term_meta ( ) : mixed | ||
add_user_meta ( ) : mixed | ||
cache_pods ( ) | Go back through and cache the Pods now that Polylang has loaded | |
core ( ) : PodsMeta | ||
cpac_meta_keys ( $meta_fields, $storage_model ) | ||
cpac_meta_value ( $meta, $id, $obj ) | ||
cpac_meta_values ( $meta, $field_type, $field, $type, $id ) | ||
cpac_post_types ( $post_types ) | ||
delete_comment ( $id ) | ||
delete_comment_meta ( ) : mixed | ||
delete_media ( $id ) | ||
delete_meta ( $object_type, null $_null = null, integer $object_id, string $meta_key = '', string $meta_value = '', boolean $delete_all = false ) : null | ||
delete_object ( $type, $id, $name = null ) | ||
delete_option ( ) : mixed | ||
delete_post ( $id ) | ||
delete_post_meta ( ) : mixed | ||
delete_taxonomy ( $id ) | ||
delete_term_meta ( ) : mixed | ||
delete_user ( $id ) | ||
delete_user_meta ( ) : mixed | ||
enqueue ( ) | ||
get_comment_meta ( ) : mixed | ||
get_meta ( $object_type, null $_null = null, integer $object_id, string $meta_key = '', boolean $single = false ) : array | boolean | integer | mixed | null | string | void | ||
get_object ( $object_type, $object_id, string $aux = '' ) : boolean | mixed | ||
get_option ( ) : mixed | All *_*_meta filter handler aliases | |
get_post_meta ( ) : mixed | All *_*_meta filter handler aliases | |
get_term_meta ( ) : mixed | ||
get_user_meta ( ) : mixed | ||
group_add ( string | array $pod, string $label, string | array $fields, string $context = 'normal', string $priority = 'default' ) : mixed | void | Add a meta group of fields to add/edit forms | |
groups_get ( $type, $name, $default_fields = null ) : array | ||
init ( ) : PodsMeta | Singleton handling for a basic pods_meta() request | |
integrations ( ) | ||
meta_comment ( $comment, $metabox ) | ||
meta_comment_add ( $comment_type, null $comment = null ) | ||
meta_comment_new ( $form_fields ) : array | ||
meta_comment_new_logged_in ( $commenter, $user_identity ) | ||
meta_media ( $form_fields, $post ) : array | ||
meta_post ( $post, $metabox ) | ||
meta_post_add ( $post_type, null $post = null ) | ||
meta_taxonomy ( $tag, null $taxonomy = null ) | ||
meta_user ( $user_id ) | ||
object_get ( $type, $name ) | ||
register ( $type, $pod ) | ||
register_field ( $pod, $field ) | ||
save_comment ( $comment_id ) | ||
save_media ( $post, $attachment ) : mixed | ||
save_media_ajax ( ) | ||
save_post ( $post_id, $post, $update = null ) : integer | ||
save_post_detect_new ( $new_status, $old_status, $post ) | ||
save_taxonomy ( $term_id, $term_taxonomy_id, $taxonomy ) | ||
save_user ( $user_id ) | ||
split_shared_term ( integer $term_id, integer $new_term_id, integer $term_taxonomy_id, string $taxonomy ) | Hook the split_shared_term action and point it to this method | |
update_comment_meta ( ) : mixed | ||
update_meta ( $object_type, null $_null = null, integer $object_id, string $meta_key = '', string $meta_value = '', string $prev_value = '' ) : boolean | integer | null | ||
update_option ( ) : mixed | ||
update_post_meta ( ) : mixed | ||
update_term_meta ( ) : mixed | ||
update_user_meta ( ) : mixed | ||
validate_comment ( $approved, $commentdata ) |
public add_class_submittable ( ) |
public add_meta ( $object_type, null $_null = null, integer $object_id, string $meta_key = '', string $meta_value = '', boolean $unique = false ) : boolean | integer | null | ||
$object_type | ||
$_null | null | |
$object_id | integer | |
$meta_key | string | |
$meta_value | string | |
$unique | boolean | |
return | boolean | integer | null |
public cache_pods ( ) |
public get_meta ( $object_type, null $_null = null, integer $object_id, string $meta_key = '', boolean $single = false ) : array | boolean | integer | mixed | null | string | void | ||
$object_type | ||
$_null | null | |
$object_id | integer | |
$meta_key | string | |
$single | boolean | |
return | array | boolean | integer | mixed | null | string | void |
public get_option ( ) : mixed | ||
return | mixed |
public get_post_meta ( ) : mixed | ||
return | mixed |
public group_add ( string | array $pod, string $label, string | array $fields, string $context = 'normal', string $priority = 'default' ) : mixed | void | ||
$pod | string | array | The pod or type of element to attach the group to. |
$label | string | Title of the edit screen section, visible to user. |
$fields | string | array | Either a comma separated list of text fields or an associative array containing field infomration. |
$context | string | (optional) The part of the page where the edit screen section should be shown ('normal', 'advanced', or 'side'). |
$priority | string | (optional) The priority within the context where the boxes should show ('high', 'core', 'default' or 'low'). |
return | mixed | void |
public groups_get ( $type, $name, $default_fields = null ) : array | ||
$type | ||
$name | ||
$default_fields | ||
return | array |
public static init ( ) : PodsMeta | ||
return | PodsMeta |
public meta_comment_add ( $comment_type, null $comment = null ) | ||
$comment_type | ||
$comment | null |
public meta_comment_new ( $form_fields ) : array | ||
$form_fields | ||
return | array |
public meta_comment_new_logged_in ( $commenter, $user_identity ) | ||
$commenter | ||
$user_identity |
public meta_media ( $form_fields, $post ) : array | ||
$form_fields | ||
$post | ||
return | array |
public meta_post_add ( $post_type, null $post = null ) | ||
$post_type | ||
$post | null |
public meta_taxonomy ( $tag, null $taxonomy = null ) | ||
$tag | ||
$taxonomy | null |
public save_media ( $post, $attachment ) : mixed | ||
$post | ||
$attachment | ||
return | mixed |
public save_post_detect_new ( $new_status, $old_status, $post ) | ||
$new_status | ||
$old_status | ||
$post |
public save_taxonomy ( $term_id, $term_taxonomy_id, $taxonomy ) | ||
$term_id | ||
$term_taxonomy_id | ||
$taxonomy |
public update_meta ( $object_type, null $_null = null, integer $object_id, string $meta_key = '', string $meta_value = '', string $prev_value = '' ) : boolean | integer | null | ||
$object_type | ||
$_null | null | |
$object_id | integer | |
$meta_key | string | |
$meta_value | string | |
$prev_value | string | |
return | boolean | integer | null |
public validate_comment ( $approved, $commentdata ) | ||
$approved | ||
$commentdata |
public static array $advanced_content_types | ||
return | array |