Skip to content
This repository was archived by the owner on Jul 1, 2025. It is now read-only.

Latest commit

 

History

History
100 lines (73 loc) · 2.6 KB

File metadata and controls

100 lines (73 loc) · 2.6 KB

admin

WPS::add_wysiwyg_class

Add one or more classes to the eysiwyg editor.

WPS::add_wysiwyg_class(['tf,'vr']);

Full documentation

WPS::add_wysiwyg_stylesheet

Add one or more stylesheet files to the eysiwyg editor.

WPS::add_wysiwyg_stylesheet('dist/css/style.css');

Full documentation

WPS::disable_admin_bar

Disable the admin bar in the frontend

WPS::disable_admin_bar();

Full documentation

WPS::enable_options_page

Enable the "WPS Options" page which allow to set some options for your wordpress like disabling some dashboard widgets, etc...

WPS::enable_options_page();

Full documentation

WPS::remove_try_guttenberg_panel

Remove the try guttenberg panel in the admin

WPS::remove_try_guttenberg_panel();

Full documentation

WPS::remove_welcome_panel

Remove welcome panel in admin

WPS::remove_welcome_panel();

Full documentation

WPS::reset_dashboard

Reset the dashboard by removing all the meta boxes

WPS::reset_dashboard();

Full documentation

WPS::set_login_logo_url

Set the login form logo url

WPS::set_login_logo_url('https://my-cool-website.com');

Full documentation

WPS::set_login_logo

Set the login form logo to display

WPS::set_login_logo('https://mycoolwebsite.com/dist/my-logo.png');

Full documentation