PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
wiloke-listing-tools
/
app
/
MetaBoxes
<?php namespace WilokeListingTools\MetaBoxes; class EventComment { public function __construct() { add_action('cmb2_admin_init', array($this, 'renderMetaboxFields')); } public function renderMetaboxFields(){ $aAllSettings = wilokeListingToolsRepository()->get('event-comment'); $postID = isset($_GET['post']) && !empty($_GET['post']) ? $_GET['post'] : ''; if ( is_array($postID) ){ return false; } new_cmb2_box($aAllSettings['metaBoxes']); } public static function getParentID(){ if ( isset($_GET['post']) ){ return wp_get_post_parent_id($_GET['post']); } return ''; } }
[+]
..
[-] 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]