/** * Display the Planner details * @static * @param $planner_id * @since 1.0 */ public static function display_details($planner_id) { $content = PostPlanner_Lib::get_content($planner_id); echo '<div class="post-planner-box">'; do_action('post_planner_before_details'); echo apply_filters('post_planner_display_details', $content); do_action('post_planner_after_details'); echo '</div>'; }