HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vps-320ddf0a 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: lamphim (1008)
PHP: 7.4.3-4ubuntu2.29
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //proc/self/cwd/wp-content/plugins/counter-number-showcase/inc/admin/cpt-reg.php
<?php
if ( ! defined( 'ABSPATH' ) ) exit;
$labels = array(
				'name'                => _x( 'Counter Numbers', 'Counter Numbers ', wpshopmart_cns_text_domain ),
				'singular_name'       => _x( 'Counter Numbers ', 'Counter Numbers ', wpshopmart_cns_text_domain ),
				'menu_name'           => __( 'Counter Numbers ', wpshopmart_cns_text_domain ),
				'parent_item_colon'   => __( 'Parent Item:', wpshopmart_cns_text_domain ),
				'all_items'           => __( 'All counters', wpshopmart_cns_text_domain ),
				'view_item'           => __( 'View counters', wpshopmart_cns_text_domain ),
				'add_new_item'        => __( 'Add New Counter', wpshopmart_cns_text_domain ),
				'add_new'             => __( 'Add New Counter', wpshopmart_cns_text_domain ),
				'edit_item'           => __( 'Edit Counter', wpshopmart_cns_text_domain ),
				'update_item'         => __( 'Update Counters', wpshopmart_cns_text_domain ),
				'search_items'        => __( 'Search Counters', wpshopmart_cns_text_domain ),
				'not_found'           => __( 'No Counter Found', wpshopmart_cns_text_domain ),
				'not_found_in_trash'  => __( 'No Counter found in Trash', wpshopmart_cns_text_domain ),
			);
			$args = array(
				'label'               => __( 'Counter Numbers ', wpshopmart_cns_text_domain ),
				'description'         => __( 'Counter Numbers ', wpshopmart_cns_text_domain ),
				'labels'              => $labels,
				'supports'            => array( 'title', '', '', '', '', '', '', '', '', '', '', ),
				'hierarchical'        => false,
				'public'              => false,
				'show_ui'             => true,
				'show_in_menu'        => true,
				'show_in_nav_menus'   => false,
				'show_in_admin_bar'   => false,
				'menu_position'       => 5,
				'menu_icon'           => 'dashicons-clock',
				'can_export'          => true,
				'has_archive'         => true,
				'exclude_from_search' => false,
				'publicly_queryable'  => false,
				'capability_type'     => 'page',
			);
			register_post_type( 'counter_numbers', $args );	
 ?>