mycred_delete_hook_ref

Description

This filter allows you to adjust the reference that the Points for Deleting Content hook uses when awarding / deducting points. Defaults to deleted_content.

Available since version 1.8

Parameters

Param Type Required Description
$reference string Yes

The reference to use. Can not be empty or no points will be awarded!

$post obj No

The WordPress post object that is getting deleted.

$hook obj No

The hook object.

Used By

Package Prio. Description
Not used by any built-in package.

Examples

No example found.