add_{$meta_type}_meta

add_{$meta_type}_meta

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.0.1

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

  • /wp-includes/meta.php line 115
    	 * @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,