HEX
Server: LiteSpeed
System: Linux sh-woe014 4.18.0-553.146.1.el8_10.x86_64 #1 SMP Tue Jul 21 03:06:01 EDT 2026 x86_64
User: museumof (2332)
PHP: 8.3.31
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/museumof/domains/uturatpublishing.com/private_html/wp-content/themes/customify/functions.php
<?php

/**
 * Customify functions and definitions
 *
 * @link    https://developer.wordpress.org/themes/basics/theme-functions/
 *
 * @package customify
 */

/**
 *  Same the hook `the_content`
 *
 * @TODO: do not effect content by plugins
 *
 * 8 WP_Embed:run_shortcode
 * 8 WP_Embed:autoembed
 * 10 wptexturize
 * 10 wpautop
 * 10 shortcode_unautop
 * 10 prepend_attachment
 * 10 wp_filter_content_tags || wp_make_content_images_responsive
 * 11 capital_P_dangit
 * 11 do_shortcode
 * 20 convert_smilies
 */
global $wp_embed;
add_filter('customify_the_content', array($wp_embed, 'run_shortcode'), 8);
add_filter('customify_the_content', array($wp_embed, 'autoembed'), 8);
add_filter('customify_the_content', 'wptexturize');
add_filter('customify_the_content', 'wpautop');
add_filter('customify_the_content', 'shortcode_unautop');
if (function_exists('wp_filter_content_tags')) {
	add_filter('customify_the_content', 'wp_filter_content_tags');
} else {
	add_filter('customify_the_content', 'wp_make_content_images_responsive');
}

add_filter('customify_the_content', 'capital_P_dangit');
add_filter('customify_the_content', 'do_shortcode');
add_filter('customify_the_content', 'convert_smilies');


/**
 *  Same the hook `the_content` but not auto P
 *
 * @TODO: do not effect content by plugins
 *
 * 8 WP_Embed:run_shortcode
 * 8 WP_Embed:autoembed
 * 10 wptexturize
 * 10 shortcode_unautop
 * 10 prepend_attachment
 * 10 wp_filter_content_tags || wp_make_content_images_responsive
 * 11 capital_P_dangit
 * 11 do_shortcode
 * 20 convert_smilies
 */
add_filter('customify_the_title', array($wp_embed, 'run_shortcode'), 8);
add_filter('customify_the_title', array($wp_embed, 'autoembed'), 8);
add_filter('customify_the_title', 'wptexturize');
add_filter('customify_the_title', 'shortcode_unautop');
if (function_exists('wp_filter_content_tags')) {
	add_filter('customify_the_title', 'wp_filter_content_tags');
} else {
	add_filter('customify_the_title', 'wp_make_content_images_responsive');
}
add_filter('customify_the_title', 'capital_P_dangit');
add_filter('customify_the_title', 'do_shortcode');
add_filter('customify_the_title', 'convert_smilies');


// Include the main Customify class.
require_once get_template_directory() . '/inc/class-customify.php';

/**
 * Main instance of Customify.
 *
 * Returns the main instance of Customify.
 *
 * @return Customify
 */
function Customify()
{
	// phpc:ignore WordPress.NamingConventions.ValidFunctionName.
	return Customify::get_instance();
}

Customify();