PHP 클래스 Extended_Taxonomy, extended-taxos

파일 보기 프로젝트 열기: johnbillion/extended-taxos

공개 프로퍼티들

프로퍼티 타입 설명
$args
$object_type
$tax_plural
$tax_plural_low
$tax_singular
$tax_singular_low
$tax_slug
$taxonomy Some other member variables you don't need to worry about:

보호된 프로퍼티들

프로퍼티 타입 설명
$defaults array Several of these differ from the defaults in WordPress' register_taxonomy() function.

공개 메소드들

메소드 설명
__construct ( string $taxonomy, array | string $object_type, array $args = [], array $names = [] ) Class constructor.
register_taxonomy ( ) : null Registers our taxonomy.
rewrite_testing_tests ( array $tests ) : array Add our rewrite tests to the Rewrite Rule Testing tests array.

메소드 상세

__construct() 공개 메소드

Class constructor.
또한 보기: register_extended_taxonomy()
public __construct ( string $taxonomy, array | string $object_type, array $args = [], array $names = [] )
$taxonomy string The taxonomy name.
$object_type array | string Name(s) of the object type(s) for the taxonomy.
$args array Optional. The taxonomy arguments.
$names array Optional. An associative array of the plural, singular, and slug names.

register_taxonomy() 공개 메소드

Registers our taxonomy.
public register_taxonomy ( ) : null
리턴 null

rewrite_testing_tests() 공개 메소드

Add our rewrite tests to the Rewrite Rule Testing tests array.
public rewrite_testing_tests ( array $tests ) : array
$tests array The existing rewrite rule tests.
리턴 array Updated rewrite rule tests.

프로퍼티 상세

$args 공개적으로 프로퍼티

public $args

$defaults 보호되어 있는 프로퍼티

Several of these differ from the defaults in WordPress' register_taxonomy() function.
protected array $defaults
리턴 array

$object_type 공개적으로 프로퍼티

public $object_type

$tax_plural 공개적으로 프로퍼티

public $tax_plural

$tax_plural_low 공개적으로 프로퍼티

public $tax_plural_low

$tax_singular 공개적으로 프로퍼티

public $tax_singular

$tax_singular_low 공개적으로 프로퍼티

public $tax_singular_low

$tax_slug 공개적으로 프로퍼티

public $tax_slug

$taxonomy 공개적으로 프로퍼티

Some other member variables you don't need to worry about:
public $taxonomy