public_html/wp-content/plugins/js_composer/include/classes/editors/class-vc-backend-editor.php
/**
	 * Output html for backend editor meta box.
	 *
	 * @param null|Wp_Post $post
	 *
	 * @return bool
	 */
Output html for backend editor meta box.

@return bool
Output html for backend editor meta box . @return bool
public function renderEditor( $post = null ) {
		if ( ! is_object( $post ) || 'WP_Post' !== get_class( $post ) || ! isset( $post->ID ) ) {
			return false;
		}
		$this->post = $post;
		$this->post_custom_css = get_post_meta( $post->ID, '_wpb_post_custom_css', true );
		vc_include_template( 'editors/backend_editor.tpl.php', array(
			'editor' => $this,
			'post' => $this->post
		) );
		add_action( 'admin_footer', array( &$this, 'renderEditorFooter' ) );
		do_action( 'vc_backend_editor_render' );
		return true;
	}
public function renderEditor ( $ post = null ) { if ( ! is_object ( $ post ) || 'WP_Post' !== get_class ( $ post ) || ! isset ( $ post -> ID ) ) { return false ; } $ this -> post = $ post ; $ this -> post_custom_css = get_post_meta ( $ post -> ID , '_wpb_post_custom_css' , true ) ; vc_include_template ( 'editors/backend_editor.tpl.php' , array ( 'editor' => $ this , 'post' => $ this -> post ) ) ; add_action ( 'admin_footer' , array ( & $ this , 'renderEditorFooter' ) ) ; do_action ( 'vc_backend_editor_render' ) ; return true ; }
Output html for backend editor meta box.
Output html for backend editor meta box .
/**
		 * TODO: setter/getter for $post
		 */