Uma área de pesquisa sobre o WordPress para devs e autores do tema



deleted_{$meta_type}meta ›

Desde3.4.0
Obsoleton/a
do_action( "deleted_{$meta_type}meta", $meta_id )
Parâmetros:
  • (int) $meta_ids Deleted metadata entry ID.
    Required: Yes
Definido em:
Codex:

Fires immediately after deleting post or comment metadata of a specific type.

The dynamic portion of the hook, $meta_type, refers to the meta object type (post or comment).





Fonte

do_action( "deleted_{$meta_type}meta", $meta_id );