Plugin Directory

Changeset 2158906


Ignore:
Timestamp:
09/19/2019 04:15:15 AM (7 years ago)
Author:
Narnoo
Message:

Version 2.2.2

Location:
narnoo-operator-plugin/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • narnoo-operator-plugin/trunk/libs/narnooapi.php

    r2022418 r2158906  
    237237    }
    238238
     239    public function getBrochureDetails($id){
     240
     241        $media = new media();
     242        $media->setToken( $this->token );
     243        $details = $media->getPrintDetails( $id );
     244        if(!empty($details)){
     245            return $details;
     246        }else{
     247            return NULL;
     248        }
     249    }
     250
    239251    public function getAlbums($page=1){
    240252
  • narnoo-operator-plugin/trunk/narnoo-operator.php

    r2158184 r2158906  
    44Plugin URI: http://narnoo.com/
    55Description: Allows Wordpress users to manage and include their Narnoo media into their Wordpress site. You will need a Narnoo API key pair to include your Narnoo media. You can find this by logging into your account at Narnoo.com and going to Account -> View APPS.
    6 Version: 2.2.1
     6Version: 2.2.2
    77Author: Narnoo Wordpress developer
    88Author URI: http://www.narnoo.com/
     
    2727// plugin definitions
    2828define( 'NARNOO_OPERATOR_PLUGIN_NAME', 'Narnoo Operator' );
    29 define( 'NARNOO_OPERATOR_CURRENT_VERSION', '2.2.1' );
     29define( 'NARNOO_OPERATOR_CURRENT_VERSION', '2.2.2' );
    3030define( 'NARNOO_OPERATOR_I18N_DOMAIN', 'narnoo-operator' );
    3131
  • narnoo-operator-plugin/trunk/product-metabox-layout.php

    r1975219 r2158906  
    393393    );
    394394
     395    $tabs_setting['tabs'][] = array(
     396        'id'     => 'tab10',
     397        'title'  => __( 'Gallery', NARNOO_OPERATOR_I18N_DOMAIN ),
     398        'desc' => '',
     399        //'id'   => 'narnoo_product_gallery',
     400        'fields' => array(
     401            array(
     402                'name' => 'Gallery Images',
     403                'desc' => '',
     404                'id'   => 'narnoo_product_gallery_list',
     405                'type' => 'file_list',
     406                // 'preview_size' => array( 100, 100 ), // Default: array( 50, 50 )
     407                // 'query_args' => array( 'type' => 'image' ), // Only images attachment
     408                // Optional, override default text strings
     409                'text' => array(
     410                    'add_upload_files_text' => 'Upload Files', // default: "Add or Upload Files"
     411                    'remove_image_text' => 'Remove Image', // default: "Remove Image"
     412                    'file_text' => 'File', // default: "File:"
     413                    'file_download_text' => 'Download', // default: "Download"
     414                    'remove_text' => 'Remove', // default: "Remove"
     415                ),
     416            ),
     417        )
     418   
     419    );
     420
    395421    // Set tabs
    396422    $cmb->add_field( array(
  • narnoo-operator-plugin/trunk/readme.txt

    r2158184 r2158906  
    55Requires at least: 3.3
    66Tested up to: 5.2.3
    7 Stable tag: 2.2.1
     7Stable tag: 2.2.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.