Class metabox
Represents a single metabox.
Namespace: ski
Link: http://codex.wordpress.org/Function_Reference/add_meta_box
Located at packages/ski.web/controls/ski.wp.metabox.php
Link: http://codex.wordpress.org/Function_Reference/add_meta_box
Located at packages/ski.web/controls/ski.wp.metabox.php
Methods summary
public
|
|
public
|
#
add( )
The main entry into creation of metaboxes - calling code defines the boxes through a custom hook. |
public
|
|
public
|
#
render( type $post )
Displays the contents of this metabox - the controls should have been created in the constructor. |
public
|
#
save( integer $post_id )
The validation checking is pretty much verbatim from the WP codex. This function does a bunch of security-checking, then runs through the controls to ask for the POST value from each, then places that value in the database. |