WpvAdmin

class WpvAdmin

Methods

Initialize the theme admin

actions() 
static

update_warning

update_warning() 
static

icons_selector

icons_selector() 
static

Allow SVG uploads

upload_mimes(array $mimes) : array
static

Arguments

$mimes

array

allowed mime types

Response

array

svg added to the allowed mime types

Widgets page

sidebar_admin_setup() 
static

Theme admin menus

load_menus() 
static

Reorder the menu items in admin.

reorder_menus(mixed $menu_order) : void
static

Arguments

$menu_order

mixed

Theme options pages callback

load_options_page() 
static

Theme metaboxes

load_metaboxes(int|null $post_id = null) 
static

Arguments

$post_id

int|null

id of the current post ( if any )

Admin helper functions

load_functions() 
static

Properties

option_pages

option_pages : 
static