frontend->get_builder_content_for_display( $post_id ) ); } /** * Load styles and scripts. * * @param int $post_id Post id. * * @since 1.6.0 */ public function enqueue_scripts( $post_id ) { if ( '' !== $post_id ) { if ( class_exists( '\Elementor\Core\Files\CSS\Post' ) ) { $css_file = new \Elementor\Core\Files\CSS\Post( $post_id ); } elseif ( class_exists( '\Elementor\Post_CSS_File' ) ) { $css_file = new \Elementor\Post_CSS_File( $post_id ); } $css_file->enqueue(); } } } endif;