WS_OK_7.4.33 HEX
HEX
Server: nginx/1.21.4
System: Linux v12674 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64
User: endtheignorance (1014)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /storage/v12674/lcanorthwest/public_html/wp-content/plugins/schema/includes/integrations/thesis.php
<?php
/**
 * Thesis Theme 2.x integration
 *
 *
 * plugin url: https://diythemes.com/
 * @since 1.4
 */
 
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;


/**
 * Remove Thesis post meta from Schema post type
 *
 * @since 1.3
 * @return schema json-ld final output
 */
if (is_admin()) :
function my_remove_meta_boxes() {
	
	// Check if Thesis theme is active,
		// Popup comments do not work with Thesis theme
	$my_theme = wp_get_theme();
	if ( $my_theme->get( 'Name' ) == 'Thesis') {
		
		remove_meta_box('thesis_title_tag', 'schema', 'normal');
		remove_meta_box('thesis_meta_description', 'schema', 'normal');
		remove_meta_box('thesis_meta_keywords', 'schema', 'normal');
		remove_meta_box('thesis_meta_robots', 'schema', 'normal');
		remove_meta_box('thesis_canonical_link', 'schema', 'normal');
		remove_meta_box('thesis_html_body', 'schema', 'normal');
		remove_meta_box('thesis_post_content', 'schema', 'normal');
		remove_meta_box('thesis_post_image', 'schema', 'normal');
		remove_meta_box('thesis_post_thumbnail', 'schema', 'normal');
		remove_meta_box('thesis_redirect', 'schema', 'normal');
	}
}
add_action( 'do_meta_boxes', 'my_remove_meta_boxes', 99 );
endif;