# master-addons/3.1.2/inc/admin/templates/editor/template-modal-insert-button.php

Master Addons for Elementor – Elementor Addons, Widgets, Mega Menu Builder, Popup Builder, Widget Builder &amp; Template Kits, version 3.1.2. 29 lines.

- Page: https://pluginprobe.com/plugins/master-addons/3.1.2/code/inc/admin/templates/editor/template-modal-insert-button.php
- Raw: https://pluginprobe.com/plugins/master-addons/3.1.2/raw/inc/admin/templates/editor/template-modal-insert-button.php
- Modified: 2026-05-19T13:15:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/master-addons/3.1.2/code/inc/admin/templates/editor/template-modal-insert-button.php#L10-L20`.

```php
<?php
/**
 * Template Insert Button
 */
if (!defined('ABSPATH')) {
    exit; // Exit if accessed directly
}
?>
    <# if ( '' !=url ) { #>
        <a class="template-library-live-preview jltma-live-preview-link" href="{{{ url }}}" target="_blank" style="text-transform: capitalize; font-weight: 400;">
            <i class="eicon-editor-external-link" aria-hidden="true"></i>
            <?php esc_html_e('Live Preview', 'master-addons' ); ?>
        </a>
    <# } #>

    <# if ( 'valid'===window.MasterAddonsData.license.status || ! pro ) { #>
        <a class="elementor-template-library-template-action ma-el-template-insert elementor-button">
            <i class="eicon-file-download"></i>
            <span class="elementor-button-title">
                <?php echo esc_html__('Insert', 'master-addons' ); ?>
            </span>
        </a>
    <# } else { #>
        <a class="template-library-activate-license elementor-button elementor-button-go-pro" href="{{{ window.MasterAddonsData.license.activateLink }}}" target="_blank">
            <i class="eicon-editor-external-link" aria-hidden="true"></i>
            {{{ window.MasterAddonsData.license.proMessage }}}
        </a>
    <# } #>

```
