HEX
Server: LiteSpeed
System: Linux srv158.niagahoster.com 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64
User: u1694298 (3732)
PHP: 7.4.33
Disabled: symlink,shell_exec,exec,popen,system,dl,passthru,escapeshellarg,escapeshellcmd,show_source,pcntl_exec
Upload Files
File: /home/u1694298/www/wp-content/plugins/js_composer/include/classes/editors/class-vc-editor.php
<?php
if ( ! defined( 'ABSPATH' ) ) {
	die( '-1' );
}

/**
 * Base functionality for WpBakery editors.
 *
 * @since 7.4
 */
abstract class Vc_Editor {
	/**
	 * @since 7.7
	 * @var array
	 */
	public $post_custom_meta;

	/**
	 * Set post meta related to VC.
	 *
	 * @since 7.4
	 * @param WP_Post | null $post
	 */
	public function set_post_meta( $post ) {
		/**
		 * Filter post custom meta related to our plugin.
		 *
		 * @since 7.7
		 * @param array $post_custom_meta
		 * @param WP_Post $post
		 */
		$this->post_custom_meta = apply_filters( 'wpb_set_post_custom_meta', [], $post );
	}
}