PluginProbe
SheetsPilot – AI Spreadsheet Bulk Edit for Posts, WooCommerce Products & SEO / trunk
SheetsPilot – AI Spreadsheet Bulk Edit for Posts, WooCommerce Products & SEO vtrunk
sheetspilot / inc_php / functions.php

functions.php in SheetsPilot – AI Spreadsheet Bulk Edit for Posts, WooCommerce Products & SEO trunk, at inc_php/functions.php

29 lines 739 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @package SheetsPilot
4 * @author Unlimited Elements
5 * @copyright (C) 2026 Unlimited Elements, All Rights Reserved.
6 * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
7 **/
8 if ( ! defined( 'ABSPATH' ) ) exit;
9 if(!defined("SHEETSPILOT_INC")) die("restricted access");
10
11 if(!function_exists("dmp")){
12 function dmp($str){
13 echo "<div align='left' style='direction:ltr;'>";
14 echo "<pre>";
15 print_r($str);
16 echo "</pre>";
17 echo "</div>";
18 }
19 }
20
21 if ( ! function_exists( 'dmpHTML' ) ) {
22 function dmpHTML( $str ) {
23 echo '<div align="left" style="direction:ltr;"><pre>' . esc_html( htmlspecialchars( print_r( $str, true ), ENT_QUOTES, 'UTF-8' ) ). '</pre></div>';
24
25 }
26 }
27
28
29