PHP Class WP_UnitTest_Factory_For_Post

Inheritance: extends WP_UnitTest_Factory_For_Thing
Afficher le fichier Open project: lucatume/wp-browser Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $factory = null )
create_object ( $args )
get_object_by_id ( $post_id )
update_object ( $post_id, $fields )

Method Details

__construct() public méthode

public __construct ( $factory = null )

create_object() public méthode

public create_object ( $args )

get_object_by_id() public méthode

public get_object_by_id ( $post_id )

update_object() public méthode

public update_object ( $post_id, $fields )