um_template_tags_replaces_hook

Hook type

Filter

Description

Extend UM replace placeholders

Parameters

$replace_placeholders

(array) UM Replace Placeholders

Usage

add_filter( 'um_template_tags_replaces_hook', 'function_name', 10, 1 );

Examples

<?php
add_filter( 'um_template_tags_replaces_hook', 'my_template_tags_replaces', 10, 1 );
function my_template_tags_replaces( $replace_placeholders ) {
    // your code here
$replace_placeholders[] = 'my_replace_value';
return $replace_placeholders;
}
?>

Change Log

Since: 2.0

Source

um_template_tags_replaces_hook is located in includes/um-short-functions.php::line 202