PHP Class CPTP_Module_Permalink_Test, custom-post-type-permalinks

Inheritance: extends WP_UnitTestCase
显示文件 Open project: torounit/custom-post-type-permalinks

Public Properties

Property Type Description
$post_type
$taxonomy

Public Methods

Method Description
setUp ( )
structure_provider ( )
tearDown ( )
test_url_to_postid_cpt ( $structure )
test_url_to_postid_cpt_hierarchial_term ( $structure )
test_url_to_postid_hierarchial_cpt ( $structure )

Method Details

setUp() public method

public setUp ( )

structure_provider() public method

public structure_provider ( )

tearDown() public method

public tearDown ( )

test_url_to_postid_cpt() public method

public test_url_to_postid_cpt ( $structure )

test_url_to_postid_cpt_hierarchial_term() public method

test_url_to_postid_hierarchial_cpt() public method

public test_url_to_postid_hierarchial_cpt ( $structure )

Property Details

$post_type public_oe property

public $post_type

$taxonomy public_oe property

public $taxonomy