Eeco_WCO_Admin
in package
Table of Contents
- __construct() : mixed
- do initializing
- add_offer_submenu_page() : void
- add a new menu page for the custom post type
- cart_offer_settings() : mixed
- Add cart offer settings page
- create_meta_boxes() : void
- create a new meta box to be used on the offer page
- eeco_wco_pointer_script() : mixed
- Add pointer function and script
- enqueue_assets() : void
- include assets for the campaign page
- pending_count() : mixed
- Add pending count after the cart offers menu item
- remove_publish_metabox() : mixed
- Remove publish metabox from wco_offer post types
- reports_html() : mixed
- Add reports parge
- wco_admin_counter_offer() : mixed
- add counter offer metabox content
Methods
__construct()
do initializing
public
__construct() : mixed
Return values
mixed —add_offer_submenu_page()
add a new menu page for the custom post type
public
add_offer_submenu_page() : void
Return values
void —cart_offer_settings()
Add cart offer settings page
public
cart_offer_settings() : mixed
Return values
mixed —create_meta_boxes()
create a new meta box to be used on the offer page
public
create_meta_boxes() : void
Return values
void —eeco_wco_pointer_script()
Add pointer function and script
public
eeco_wco_pointer_script() : mixed
Return values
mixed —enqueue_assets()
include assets for the campaign page
public
enqueue_assets() : void
Return values
void —pending_count()
Add pending count after the cart offers menu item
public
pending_count([string $safe_text = '' ][, mixed $text = '' ]) : mixed
Parameters
- $safe_text : string = ''
-
Fully formatted text
- $text : mixed = ''
Return values
mixed —remove_publish_metabox()
Remove publish metabox from wco_offer post types
public
remove_publish_metabox() : mixed
Return values
mixed —reports_html()
Add reports parge
public
reports_html() : mixed
Return values
mixed —wco_admin_counter_offer()
add counter offer metabox content
public
wco_admin_counter_offer() : mixed