delete_{$meta_type}meta

delete_{$meta_type}meta

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

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('delete_{$meta_type}meta') is found 1 times:

  • /wp-includes/meta.php line 1058
    			 * @since 3.4.0
    			 *
    			 * @param int $meta_id ID of the metadata entry to delete.
    			 */
    			do_action( "delete_{$meta_type}meta", $meta_id );
    		}
    
    		// Run the query, will return true if deleted, false otherwise.
    		$result = (bool) $wpdb->delete( $table, array( $id_column => $meta_id ) );
    
    		// Clear the caches.