add_{$meta_type}_meta

add_{$meta_type}_meta

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('add_{$meta_type}_meta') is found 1 times:

  • /wp-includes/meta.php line 117
    	 * @param int    $object_id   ID of the object metadata is for.
    	 * @param string $meta_key    Metadata key.
    	 * @param mixed  $_meta_value Metadata value.
    	 */
    	do_action( "add_{$meta_type}_meta", $object_id, $meta_key, $_meta_value );
    
    	$result = $wpdb->insert(
    		$table,
    		array(
    			$column      => $object_id,
    			'meta_key'   => $meta_key,