Source Code Documentation


Field Summary | Method Summary | Field Detail | Method Detail

Package s2Member\Meta_Boxes

s2member\includes\classes\meta-boxes.inc.php at line #28

Class c_ws_plugin__s2member_meta_boxes

c_ws_plugin__s2member_meta_boxes

public class c_ws_plugin__s2member_meta_boxes

Administrative Meta Boxes.

Since:

3.5


( 1 Method )
Method Summary
public static null

add_meta_boxes(str $type)

Adds meta boxes to Post/Page editing stations.

( 1 Method )
Method Detail

s2member\includes\classes\meta-boxes.inc.php at line #44

add_meta_boxes()

public static null add_meta_boxes(str $type)

Adds meta boxes to Post/Page editing stations.

Note: WordPress® also calls this Hook with $type set to: link and comment. Possibly others. Thus, the need for: in_array ($type, array_keys (get_post_types ())).

Since:

3.5

Attaches-to:

add_action("add_meta_boxes");

Parameters:

str $type - String indicating type of Post, or another classification ( i.e. nav_menu_item ).

Returns:

null

[ back to top ]

Source Code Documentation


Field Summary | Method Summary | Field Detail | Method Detail