403Webshell
Server IP : 103.4.122.14  /  Your IP : 216.73.216.103
Web Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
System : Linux cwp2.slnet.com.au 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : statewid ( 1251)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/statewid/public_html/wp-content/themes/Divi/core/code-snippets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/statewid/public_html/wp-content/themes/Divi/core/code-snippets//code-snippets.php
<?php
/**
 * Code snippets quick feature entry file.
 *
 * Divi Cloud Code Snippets
 *
 * @link https://github.com/elegantthemes/Divi/issues/26232
 *
 * @package Divi
 * @subpackage Core
 * @since 4.19.0
 */

if ( ! defined( 'ET_CODE_SNIPPETS_DIR' ) ) {
	define( 'ET_CODE_SNIPPETS_DIR', ET_CORE_PATH . 'code-snippets/' );
}

require_once trailingslashit( ET_CODE_SNIPPETS_DIR ) . 'constants.php';
require_once trailingslashit( ET_CODE_SNIPPETS_DIR ) . 'code-snippets-library.php';
require_once trailingslashit( ET_CODE_SNIPPETS_DIR ) . 'api.php';

if ( ! function_exists( 'et_init_code_snippets_library' ) ) :
	/**
	 * Init Code Snippets Library.
	 *
	 * Class `ET_Builder_Post_Taxonomy_LayoutCategory` must be initalized
	 * before `ET_Builder_Code_Snippets_Library` because of the internal dependency.
	 *
	 * Since `ET_Builder_Post_Taxonomy_LayoutCategory is initialized using
	 * `add_action( 'init', 'et_setup_builder', 0 );`,
	 *
	 * We initialize `ET_Builder_Code_Snippets_Library` using
	 * `add_action( 'init', 'et_init_code_snippets_library', 10 );`
	 *
	 * @return void
	 */
	function et_init_code_snippets_library() {
		require_once trailingslashit( ET_CODE_SNIPPETS_DIR ) . 'CodeSnippetsLibrary.php';
	}
endif;

add_action( 'init', 'et_init_code_snippets_library' );

Youez - 2016 - github.com/yon3zu
LinuXploit