register_meta Wordpress function


Description:

Register meta key


Syntax:


Arguments:

(string) $meta_type Type of meta
(string) $meta_key Meta key
(string|array) $sanitize_callback A function or method to call when sanitizing the value of $meta_key.
(string|array) $auth_callback Optional. A function or method to call when performing edit_post_meta, add_post_meta, and delete_post_meta capability checks.
(array) $args Arguments


Return Type:


Define At:

wp-includes/meta.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/register_meta


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×