Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

LLMS_Elementor_Migrate::update_elementor_data( $post_id,  $content )


Source Source

File: includes/class-llms-elementor-migrate.php

	private function update_elementor_data( $post_id, $content ): void {
		// The trim and wp json encode are important. It doesn't seem to work with just json_encode, for example.
		update_post_meta( $post_id, '_elementor_data', trim( wp_slash( wp_json_encode( $content ) ), '"' ) );
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.