Class WC_Admin_Meta_Boxes

WC_Admin_Meta_Boxes

Package: WooCommerce\Admin\Meta
Author: WooThemes
Located at includes/admin/post-types/class-wc-admin-meta-boxes.php

Methods summary

public
# __construct( )

Constructor

Constructor

public static
# add_error( string $text )

Add an error message

Add an error message

Parameters

$text
string
$text
public
# save_errors( )

Save errors to an option

Save errors to an option

public
# output_errors( )

Show any stored error messages.

Show any stored error messages.

public
# add_meta_boxes( )

Add WC Meta boxes

Add WC Meta boxes

public
# remove_meta_boxes( )

Remove bloat

Remove bloat

public
# rename_meta_boxes( )

Rename core meta boxes

Rename core meta boxes

public
# save_meta_boxes( integer $post_id, object $post )

Check if we're saving, the trigger an action based on the post type

Check if we're saving, the trigger an action based on the post type

Parameters

$post_id
integer
$post_id
$post
object
$post

Magic methods summary

WooCommerce API documentation generated by ApiGen 2.8.0