/** * Print the wishlist HTML. */ static function wishlist($atts, $content = null) { $atts = shortcode_atts(array('per_page' => 10, 'pagination' => 'no'), $atts); ob_start(); king_wishlist_get_template('wishlist.php', $atts); return apply_filters('king_wishlist_html', ob_get_clean()); }
} } } else { ?> <tr> <td colspan="6" class="wishlist-empty"><?php _e('No products were added to the wishlist', 'king'); ?> </td> </tr> <?php } if (isset($page_links)) { ?> <tr> <td colspan="6"><?php print $page_links; ?> </td> </tr> <?php } ?> </tbody> </table> <?php do_action('king_wishlist_after_wishlist'); king_wishlist_get_template('share.php'); do_action('king_wishlist_after_wishlist_share'); ?> </form>