getClass("admin");
$action = "" . __('Add New', 'maxbuttons') . "";
$admin->get_header(array("tabs_active" => true, "title" => $page_title, "title_action" => $action));
$collections = maxCollections::getCollections();
$maxCol = new maxCollection();
?>
$data)
{
$id = $data["collection_id"];
$name = $maxCol->get_meta($id, "collection_name");
$name = isset($name['collection_name']) ? $name["collection_name"] : '';
$collection = maxCollections::getCollectionById($id);
if (! $collection)
continue;
$collection_type = $collection->getType();
$block_nonce = wp_create_nonce('mbpro_collection_block-' . $id);
$button_count = 0;
$picker = $collection->getBlock("picker");
if ($picker)
{
$picker_data = $picker->get();
$button_count = count($picker_data["selection"]);
}
?>
0): ?>
( )
true,
);
$collection->display($args);
?>
[maxcollection id=""]
get_footer();