Current Path : /storage/v11800/affypharma/public_html/wp-content/plugins/auxin-elements/admin/includes/metaboxes/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/affypharma/public_html/wp-content/plugins/auxin-elements/admin/includes/metaboxes/metabox-fields-post-gallery.php |
<?php
/**
* Add gallery Option meta box for gallery post format
*
*
* @package Auxin
* @license LICENSE.txt
* @author averta
* @link http://phlox.pro/
* @copyright (c) 2010-2024 averta
*/
// no direct access allowed
if ( ! defined('ABSPATH') ) exit;
/*======================================================================*/
// @TODO: attachment type is not working and it should check later.
function auxin_metabox_fields_post_gallery(){
$model = new Auxin_Metabox_Model();
$model->id = 'post-gallery';
$model->title = __('Gallery Post options', 'auxin-elements');
$model->css_class = 'aux-format-tab';
$model->fields = array(
array(
'title' => __('The Gallery Images', 'auxin-elements'),
'description' => '',
'id' => '_format_gallery_type',
'type' => 'images',
'default' => ''
)
);
return $model;
}