PHP Class _Beans_Post_Meta, Beans

Mostra file Open project: Getbeans/Beans

Public Methods

Method Description
__construct ( $section, $args ) Constructor.
metabox_content ( $post ) Metabox content.
nonce ( ) Post meta nonce.
register_metabox ( $post_type ) Add the Metabox.
save ( $post_id ) Save Post Meta.
save_attachment ( $attachment ) Save Post Meta for attachment.

Private Methods

Method Description
do_once ( ) Trigger actions only once.

Method Details

__construct() public method

Constructor.
public __construct ( $section, $args )

metabox_content() public method

Metabox content.
public metabox_content ( $post )

nonce() public method

Post meta nonce.
public nonce ( )

register_metabox() public method

Add the Metabox.
public register_metabox ( $post_type )

save() public method

Save Post Meta.
public save ( $post_id )

save_attachment() public method

Save Post Meta for attachment.
public save_attachment ( $attachment )