PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
wiloke-listing-tools
/
app
/
MetaBoxes
<?php namespace WilokeListingTools\MetaBoxes; use WilokeListingTools\Framework\Helpers\GetSettings; class WooCommerce { public function __construct() { add_action( 'cmb2_admin_init', array($this, 'registerMetaBoxes') ); } public static function getIsDokan(){ $postID = isset($_GET['post']) && !empty($_GET['post']) ? $_GET['post'] : ''; if ( empty($postID) ){ return ''; } return GetSettings::getPostMeta($postID, 'is_dokan'); } public static function getIsSendQRCode(){ $postID = isset($_GET['post']) && !empty($_GET['post']) ? $_GET['post'] : ''; if ( empty($postID) ){ return ''; } return GetSettings::getPostMeta($postID, 'is_send_qrcode'); } public static function getQRCodeEmailContent(){ $postID = isset($_GET['post']) && !empty($_GET['post']) ? $_GET['post'] : ''; if ( empty($postID) ){ return ''; } return GetSettings::getPostMeta($postID, 'qrcode_description'); } public function registerMetaBoxes(){ new_cmb2_box(wilokeListingToolsRepository()->get('woocommerce-metaboxes:metaBoxes')); new_cmb2_box(wilokeListingToolsRepository()->get('woocommerce-metaboxes:excludeFromShop')); } }
[+]
..
[-] ListingLocation.php
[edit]
[-] ListingCustomTaxonomy.php
[edit]
[-] Review.php
[edit]
[-] CustomFieldTools.php
[edit]
[-] Listing.php
[edit]
[+]
assets
[-] BookingComBannerCreator.php
[edit]
[-] Promotion.php
[edit]
[-] EventPlan.php
[edit]
[-] ListingPlan.php
[edit]
[-] Coupon.php
[edit]
[-] Post.php
[edit]
[-] CMB2PostSearchField.php
[edit]
[-] Report.php
[edit]
[-] CustomCMB2Fields.php
[edit]
[-] UserMeta.php
[edit]
[-] ListingCategory.php
[edit]
[-] CustomFieldsForPostType.php
[edit]
[-] EventComment.php
[edit]
[-] ListingTag.php
[edit]
[-] WooCommerce.php
[edit]
[-] ClaimListing.php
[edit]
[-] Event.php
[edit]
[-] Discount.php
[edit]