403Webshell
Server IP : 65.108.144.40  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : dev ( 1000)
PHP Version : 8.2.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/coopermain/wp-content/themes/cooper/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/coopermain/wp-content/themes/cooper/functions.php
<?php

require_once get_stylesheet_directory() . '/framework/autoloader.php';

require_once  get_stylesheet_directory() . '/wpai/import_hooks.php';


function my_post_type_slider() {
register_post_type( 'find-a-retailer',
               array(
'label' => __('Find a Rertailer'),
'singular_label' => __('find-a-retailer', 'we'),
'_builtin' => false,
'public' => true,
'show_ui' => true,
'show_in_nav_menus' => true,
'hierarchical' => true,
'capability_type' => 'page',
'rewrite' => array(
'slug' => 'find-a-retailer',
'with_front' => FALSE,
),
'supports' => array(
'title',
'editor',
'thumbnail',
'custom-fields'
)
)
);

register_taxonomy('find_a_retailer_categories', 'find-a-retailer', array('hierarchical' => true, 'label' => 'Slider Categories', 'singular_name' => 'find-a-retailer-category', 'rewrite' => array( 'slug' => 'slider' ), "query_var" => true));
}

add_action('init', 'my_post_type_slider');

Youez - 2016 - github.com/yon3zu
LinuXploit