llms_merge_code_button( string $target = 'content', boolean $echo = true, array $codes = array() )

Add a “merge code” button that to auto-add merge codes to email & etc.


Description Description

..


Parameters Parameters

$target

(Optional) target to add the merge code to accepts the ID of a tinymce editor a DOM ID (#element-id) and fallback to outputting an alert where the code can be copied from

Default value: 'content'

$echo

(Optional) if truthy, echos the HTML, otherwise returns it

Default value: true

$codes

(Optional) array of custom codes to pass in, otherwise the codes are determined what is available for the post type

Default value: array()


Top ↑

Return Return

(void|string)


Top ↑

Source Source

File: includes/admin/llms.functions.admin.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.