Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
pokeloken
/
admin
/
wp-content
/
plugins
/
navz-photo-gallery
/
includes
:
__construct.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php // exit if accessed directly if( ! defined( 'ABSPATH' ) ) exit; // vars $this->name = 'photo_gallery'; $this->label = __('Photo Gallery'); $this->category = __("Content",'acf'); // Basic, Content, Choice, etc $this->defaults = array( // add default here to merge into your field. // This makes life easy when creating the field options as you don't need to use any if( isset('') ) logic. eg: 'edit_modal' => 'Default', //'preview_size' => 'thumbnail' ); // do not delete! parent::__construct(); // settings $this->settings = $settings;