I am new to this metaboxes.php file, where all the content for the wordpress takes place.
I have a section of Metaboxes.php
array(
'args' => array(
'post_type' => 'xx_property',
'numberposts' => -1,
'post_status' => array(
'publish'
),
),
'data' => 'posts',
'id' => 'xx_realtor',
'multi' => true,
'title' => __( 'view', 'xx_posts' ),
'type' => 'select',
),
Here, this is a select box and select all the realtor who has post_status as publish, but I need to see if the realtor is active or nor. that's in id=xx_active
.
instead of post_status
, I need to point this to saying if the realtor is active show the list.
Can anyone has any suggestions?