coreactivity_metas_deleted_{$scope}
Developer Knowledge Level
This content is intended for WordPress developers, and it may require coding knowledge of WordPress, PHP, and JavaScript. Code examples provided here may contain errors or needs some additional coding. Make sure to test the code before using it on a live website!
Definition
do_action( "coreactivity_metas_deleted_{$scope}", $object_id, $meta_key, $meta_value );
Arguments
Name
Type
Description
$object_id
mixed
Value passed to the callback in this position.
$meta_key
mixed
Value passed to the callback in this position.
$meta_value
mixed
Value passed to the callback in this position.
Fires in deleted_meta() in core/log/Metas.php. This hook is called at line 55 in the current plugin source.
The name contains dynamic components. Replace each placeholder with the value used at runtime; register the callback for the resulting hook name.
The scope placeholder is post, comment, term, or user, depending on the metadata type.
The call in the plugin source shows the argument order and the value supplied at this point.
do_action( 'coreactivity_metas_deleted_' . $scope, $object_id, $meta_key, $meta_value );