__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Albums Preview class.
*
* @since 3.5.0
*
* @package Envira_Gallery
* @author Envira Gallery Team
*/
namespace Imagely\NGG\Admin;
/**
* Albums Preview Class
*
* @since 3.5.0
*/
class Ecommerce_Preview {
/**
* Holds base singleton.
*
* @since 3.5.0
*
* @var object
*/
public $base = null;
/**
* Class Hooks
*
* @since 3.5.0
*
* @return void
*/
public function hooks() {
if ( nextgen_is_plus_or_pro_enabled() ) {
return;
}
add_action( 'admin_menu', [ $this, 'admin_menu' ], 10 );
}
/**
* Helper Method to add Admin Menu
*
* @since 3.5.0
*
* @return void
*/
public function admin_menu() {
add_submenu_page(
NGGFOLDER,
esc_html__( 'Ecommerce', 'nggallery' ),
esc_html__( 'Ecommerce', 'nggallery' ),
apply_filters( 'envira_gallery_menu_cap', 'manage_options' ),
NGG_PLUGIN_SLUG . '-albums',
[ $this, 'page' ]
);
}
/**
* Helper Method to display Admin Page
*
* @since 3.5.0
*
* @return void
*/
public function page() {
// If here, we're on an Envira Gallery or Album screen, so output the header.
nextgen_load_admin_partial( 'ecommerce', [] );
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Notifications | Folder | 0755 |
|
|
| Views | Folder | 0755 |
|
|
| AMNotifications.php | File | 18.81 KB | 0644 |
|
| About.php | File | 34.8 KB | 0644 |
|
| Ecommerce_Preview.php | File | 1.14 KB | 0644 |
|
| FormManager.php | File | 1.45 KB | 0644 |
|
| RequirementsManager.php | File | 4.34 KB | 0644 |
|
| RequirementsNotice.php | File | 1.38 KB | 0644 |
|