AnonSec Shell
Server IP : 162.213.251.212  /  Your IP : 52.15.160.197   [ Reverse IP ]
Web Server : LiteSpeed
System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : allssztx ( 535)
PHP Version : 8.1.31
Disable Function : NONE
Domains : 1 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/allssztx/bestvalleywater.com/wp-content/themes/woodmart/inc/integrations/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/allssztx/bestvalleywater.com/wp-content/themes/woodmart/inc/integrations/yoast.php
<?php
/**
 * Yoast.
 *
 * @package woodmart
 */

if ( ! function_exists( 'YoastSEO' ) ) {
	return;
}

add_action( 'category_description', 'woodmart_page_css_files_disable', 9 );
add_action( 'term_description', 'woodmart_page_css_files_disable', 9 );

add_action( 'category_description', 'woodmart_page_css_files_enable', 11 );
add_action( 'term_description', 'woodmart_page_css_files_enable', 11 );

if ( ! function_exists( 'woodmart_layout_post_type_filter' ) ) {
	/**
	 * Exclude woodmart layout from Optimize SEO.
	 *
	 * @param array $post_types Post type.
	 * @return mixed
	 */
	function woodmart_layout_post_type_filter( $post_types ) {
		if ( isset( $post_types['woodmart_layout'] ) ) {
			unset( $post_types['woodmart_layout'] );
		}

		return $post_types;
	}

	add_filter( 'wpseo_accessible_post_types', 'woodmart_layout_post_type_filter' );
}

if ( ! function_exists( 'woodmart_indexable_excluded_post_types' ) ) {
	/**
	 * Exclude woodmart layout from Optimize SEO.
	 *
	 * @param array $post_types Post type.
	 * @return mixed
	 */
	function woodmart_indexable_excluded_post_types( $post_types ) {
		$post_types[] = 'woodmart_layout';

		return $post_types;
	}

	add_filter( 'wpseo_indexable_excluded_post_types', 'woodmart_indexable_excluded_post_types' );
}

Anon7 - 2022
AnonSec Team