PATH:
var
/
softaculous
/
sitepad
/
editor
/
site-data
/
plugins
/
kkart-pro
/
includes
/
admin
/
meta-boxes
<?php /** * Order Data * * Functions for displaying the order items meta box. * * @author WooThemes * @category Admin * @package Kkart\Admin\Meta Boxes * @version 2.1.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } /** * KKART_Meta_Box_Order_Items Class. */ class KKART_Meta_Box_Order_Items { /** * Output the metabox. * * @param WP_Post $post */ public static function output( $post ) { global $post, $thepostid, $theorder; if ( ! is_int( $thepostid ) ) { $thepostid = $post->ID; } if ( ! is_object( $theorder ) ) { $theorder = kkart_get_order( $thepostid ); } $order = $theorder; $data = get_post_meta( $post->ID ); include __DIR__ . '/views/html-order-items.php'; } /** * Save meta box data. * * @param int $post_id */ public static function save( $post_id ) { /** * This $_POST variable's data has been validated and escaped * inside `kkart_save_order_items()` function. */ kkart_save_order_items( $post_id, $_POST ); } }
[+]
views
[-] class-kkart-meta-box-order-downloads.php
[edit]
[+]
..
[-] class-kkart-meta-box-coupon-data.php
[edit]
[-] class-kkart-meta-box-order-data.php
[edit]
[-] class-kkart-meta-box-product-reviews.php
[edit]
[-] class-kkart-meta-box-order-notes.php
[edit]
[-] class-kkart-meta-box-product-short-description.php
[edit]
[-] class-kkart-meta-box-order-actions.php
[edit]
[-] class-kkart-meta-box-product-images.php
[edit]
[-] class-kkart-meta-box-order-items.php
[edit]
[-] class-kkart-meta-box-product-data.php
[edit]