WPDev.one

add_meta()

add_meta( mixed $post_id )

Adds post meta data defined in the `$_POST` superglobal for a post with given ID.

Parameters 1 required

Name / Type Description
int

$post_id

Required

Return Value

((int)
| bool)

Function Information

Since Version
1.2.0
Source File
wp-admin/includes/post.php
Advertisement