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 )
Contents
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 ) ), '"' ) );
}
Expand full source code Collapse full source code View on GitHub