????JFIF??x?x????'
| Server IP : 172.67.174.47 / Your IP : 216.73.216.87 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././home/tempvsty/pontiacques.org/wp-content/plugins/easy-media-gallery/includes/ |
Upload File : |
<?php
if ( ! defined( 'ABSPATH' ) ) exit;
/*-----------------------------------------------------------------------------------
/* Register Taxonomy
/*---------------------------------------------------------------------------------*/
function easmedia_register_emg_tax() {
$labels = array(
'name' => _x( 'Easy Media Gallery', 'taxonomy general name' ),
'singular_name' => _x( 'Easy Media Gallery', 'taxonomy singular name' ),
'add_new' => _x( 'Add New Category', 'easy-media-gallery'),
'add_new_item' => __( 'Add New Category' ),
'edit_item' => __( 'Edit Category' ),
'new_item' => __( 'New Category' ),
'view_item' => __( 'View Category' ),
'search_items' => __( 'Search Category' ),
'not_found' => __( 'No Category found' ),
'not_found_in_trash' => __( 'No Category found in Trash' ),
'menu_name' => __( 'Categories' )
);
$pages = array( 'easymediagallery' );
$args = array(
'labels' => $labels,
'singular_label' => __( 'Emediagallery', 'easy-media-gallery' ),
'public' => true,
'show_ui' => true,
'query_var' => true,
'hierarchical' => true,
'show_tagcloud' => false,
'show_in_nav_menus' => false,
'rewrite' => array( 'slug' => 'easy-media', 'with_front' => false ),
);
register_taxonomy( 'emediagallery', $pages, $args );
}
add_action( 'init', 'easmedia_register_emg_tax', 11 );
?>