acf/delete_value

acf/delete_value

Hook Type: action

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.2.2

do_action('acf/delete_value') is found 1 times:

  • /includes/acf-value-functions.php line 310
    	 * @param   string $post_id The post ID for this value.
    	 * @param   mixed $name The meta name.
    	 * @param   array $field The field array.
    	 */
    	do_action( 'acf/delete_value', $post_id, $field['name'], $field );
    
    	// Delete meta.
    	$return = acf_delete_metadata( $post_id, $field['name'] );
    
    	// Delete reference.
    	acf_delete_metadata( $post_id, $field['name'], true );