PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
wiloke-listing-tools
/
config
<?php $prefix = 'wilcity'; use WilokeListingTools\Framework\Helpers\General; $postTypes = ''; if ( isset($_GET['post']) && !empty($_GET['post']) ){ $parentID = wp_get_post_parent_id($_GET['post']); if ( !empty($parentID) ){ $postTypes = get_post_type($parentID); } } if ( empty($postTypes) ){ $postTypes = implode(',', General::getPostTypeKeys(false)); } return array( 'aBannerCreator' => array( 'id' => 'banner_creator_settings', 'title' => 'Display On', 'object_types' => array('bdotcom_bm'), 'context' => 'normal', 'priority' => 'low', 'show_names' => true, // Show field names on the left 'fields' => array( array( 'type' => 'select2_posts', 'post_types'=> \WilokeListingTools\Framework\Helpers\General::getPostTypeKeys(false,true), 'attributes' => array( 'ajax_action' => 'wiloke_fetch_posts', 'post_types' => $postTypes ), 'id' => 'parent_id', 'name' => 'Display On', 'default_cb'=> array('WilokeListingTools\MetaBoxes\BookingComBannerCreator', 'getParentID') ) ) ), );
[+]
..
[-] subscriptions.php
[edit]
[-] usermeta.php
[edit]
[-] claim-settings.php
[edit]
[-] push-notifications.php
[edit]
[-] report.php
[edit]
[-] dashboard.php
[edit]
[-] builder-plugin.php
[edit]
[-] line-icon.php
[edit]
[-] sales.php
[edit]
[-] default-addlisting.php
[edit]
[-] promotion-metaboxes.php
[edit]
[-] invoices.php
[edit]
[-] utcToGmt.php
[edit]
[-] wiloke-submission.php
[edit]
[-] mobile-menus.php
[edit]
[-] post-metaboxes.php
[edit]
[-] listinglocation.php
[edit]
[-] user.php
[edit]
[-] middleware.php
[edit]
[-] listing-settings.php
[edit]
[-] translation.php
[edit]
[-] promotion-settings.php
[edit]
[-] claimfields.php
[edit]
[-] claim.php
[edit]
[-] eventplan.php
[edit]
[-] event-comment.php
[edit]
[-] schema-markup.php
[edit]
[-] register-login.php
[edit]
[-] discount.php
[edit]
[-] posttypes.php
[edit]
[-] listingplan.php
[edit]
[-] addlisting.php
[edit]
[-] apple.php
[edit]
[-] general.php
[edit]
[-] event-metaboxes.php
[edit]
[-] roles.php
[edit]
[-] woocommerce-metaboxes.php
[edit]
[-] bookingcom.php
[edit]
[-] quick-searchform.php
[edit]
[-] email.php
[edit]
[-] reviews.php
[edit]
[-] .config.php
[edit]
[-] listingtag.php
[edit]
[-] submission-pages.php
[edit]
[-] listingcategory.php
[edit]
[-] event-settings.php
[edit]
[-] payment.php
[edit]
[-] settings.php
[edit]