Clanbite

add_meta_row( int $object_id, stdClass $meta ): int|false

Insert a meta row.

public

Class: Kernowdev\Clanbite\Extensions\Data_Stores\WP_Post_Meta_Data_Store

Parameters

$object_id (int) Required

Post or user ID.

$meta (\stdClass) Required

key and value properties.

Returns

int|false New meta ID or false.

Defined in inc/extensions/data-stores/class-wp-post-meta-data-store.php