PluginProbe
Master Addons for Elementor – Elementor Addons, Widgets, Mega Menu Builder, Popup Builder, Widget Builder & Template Kits / 3.1.9
Master Addons for Elementor – Elementor Addons, Widgets, Mega Menu Builder, Popup Builder, Widget Builder & Template Kits v3.1.9
3.2.2 3.2.3 3.2.1 3.2.0 3.1.9 3.1.8 3.1.7 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.9 trunk 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.3 1.1.4 1.1.5 All 174 releases
master-addons / inc / admin / templates / editor / template-modal-header-logo.php

template-modal-header-logo.php in Master Addons for Elementor – Elementor Addons, Widgets, Mega Menu Builder, Popup Builder, Widget Builder & Template Kits 3.1.9, at inc/admin/templates/editor/template-modal-header-logo.php

29 lines 1000 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Template Library Modal Header
4 */
5 if (!defined('ABSPATH')) {
6 exit; // Exit if accessed directly
7 }
8 ?>
9 <?php
10 global $pagenow;
11 $library_title = 'Template Library';
12 if ( 'post.php' === $pagenow && isset( $_GET['post'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- read-only admin context detection for display
13 $post_id = absint( $_GET['post'] ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- read-only post ID for display label
14 if ( $post_id ) {
15 $current_post_type = get_post_type( $post_id );
16 if( 'jltma_popup' === $current_post_type ){
17 $library_title = 'Popup Builder';
18 }
19 }
20 }
21 ?>
22 <div class="ma-el-modal-header-logo-icon">
23 <img src="<?php echo esc_url( JLTMA_IMAGE_DIR . 'logo.svg' ); ?>">
24 <div class="jltma-template-lib-title">
25 <!-- Templates Library -->
26 <?php echo esc_html( $library_title ); ?>
27 </div>
28 </div>
29