function wpv_ordering_summary_filter( $summary, $post_id, $view_settings ) { $summary .= wpv_get_ordering_summary( $view_settings ); return $summary; }
function wpv_embedded_ordering($view_settings) { $section_help_pointer = WPV_Admin_Messages::edit_section_help_pointer('ordering'); ?> <div class="wpv-setting-container"> <div class="wpv-settings-header"> <h3> <?php _e('Ordering', 'wpv-views'); ?> <i class="icon-question-sign js-display-tooltip" data-header="<?php echo esc_attr($section_help_pointer['title']); ?> " data-content="<?php echo esc_attr($section_help_pointer['content']); ?> "> </i> </h3> </div> <div class="wpv-setting"> <p> <?php echo __('Results are ', 'wpv-views') . wpv_get_ordering_summary($view_settings, 'embedded-info'); ?> </p> </div> </div> <?php }