config['type'] != 'metabox' ) {
echo 'This item only available in metabox!
';
} else {
if ( ! empty( $this->field['meta-key'] ) ) {
$value = get_post_meta( get_the_ID(), $this->field['meta-key'], true );
echo $this->element_before();
echo '';
echo $this->element_after();
}
}
}
}
}