'' ), $atts)); $id = is_numeric( $id ) ? (float) $id : false; $content = ''; if ($id) { $init = new \ULTP\ULTP_Initialization(); $init->register_scripts_common(); ultimate_post()->set_css_style($id, true); $content_post = get_post($id); if ($content_post) { if ($content_post->post_status == 'publish' && $content_post->post_password == '') { $content = $content_post->post_content; $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); return '
' . $content . '
'; } } } return ''; } }