Replacing standard tags in PHP function (hook)
-
Hi,
Is it possible to execute a standard form tag in a PHP hook function as well?For example:
I defined a custom form tag named ‘[dp]’ and like to execute the following standard tag in a ‘wpcf7_add_form_tag’ function hook:[acceptance cb-dataprotection]Here follows a text with a link.....<span class="required">*</span>[/acceptance].
Unfortunately, the standard tag is not replaced by the usual checkbox.
Any help would be great.
Jürgen
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Replacing standard tags in PHP function (hook)’ is closed to new replies.