beans_modify_action_hook

Modify an action hook.

This function is a shortcut of beans_modify_action().

beans_modify_action_hook( string $id, string $hook )

Return: (bool) Will always return true.

Parameters

NameTypeRequiredDefaultDescription
$idstringtrue-The action ID.
$hookstringfalse-The name of the new action to which the $callback is hooked. Use NULL to keep the original value.

Source

function beans_modify_action_hook( $id, $hook ) {

	return beans_modify_action( $id, $hook );

}