shipcloud for WooCommerce

WC_Shipping_Shipcloud_Cpt_Parcel_Template
in package

Table of Contents

$_instance  : object
The Single instance of the class
$api  : object
add_menu_item()  : void
Adding Parcels to Woo Menu
admin_enqueue_scripts()  : void
Enqueues admin related scripts and styles.
box_settings()  : string
Settings Box
get_create_link()  : string
Builds link where a new template can be created.
instance()  : object
Main Instance
meta_boxes()  : void
Adding Metaboxes
notice_area()  : void
Notice Area
register_post_type()  : void
Registering Post type
remove_all_messages()  : array<string|int, mixed>
Removing all messages
save_post()  : void
Saving data
__construct()  : void
Construct
add_admin_notice()  : void
Output an admin notice.
init()  : void
Initializing Post type
log()  : void
Output a debug message.

Properties

Methods

remove_all_messages()

Removing all messages

public remove_all_messages(array<string|int, mixed> $messages) : array<string|int, mixed>
Parameters
$messages : array<string|int, mixed>
Return values
array<string|int, mixed>

add_admin_notice()

Output an admin notice.

private add_admin_notice(string $message[, string $type = 'info' ][, bool $dismissible = true ]) : void
Parameters
$message : string

Debug message.

$type : string = 'info'

Message type.

$dismissible : bool = true

Message type.

Return values
void

log()

Output a debug message.

private log(string $message[, string $level = 'info' ][, mixed $context = [] ]) : void
Parameters
$message : string

Debug message.

$level : string = 'info'

Debug level.

$context : mixed = []

The Debug context.

Return values
void

Search results