PHP 클래스 WC_Post_types

Registers post types and taxonomies
저자: WooThemes
파일 보기 프로젝트 열기: woocommerce/woocommerce 1 사용 예제들

공개 메소드들

메소드 설명
flush_rewrite_rules ( ) Flush rewrite rules.
init ( ) Hook in methods.
register_post_status ( ) Register our custom post statuses, used for order status.
register_post_types ( ) Register core post types.
register_taxonomies ( ) Register core taxonomies.
rest_api_allowed_post_types ( array $post_types ) : array Added product for Jetpack related posts.
support_jetpack_omnisearch ( ) Add Product Support to Jetpack Omnisearch.

메소드 상세

flush_rewrite_rules() 공개 정적인 메소드

Flush rewrite rules.
public static flush_rewrite_rules ( )

init() 공개 정적인 메소드

Hook in methods.
public static init ( )

register_post_status() 공개 정적인 메소드

Register our custom post statuses, used for order status.
public static register_post_status ( )

register_post_types() 공개 정적인 메소드

Register core post types.
public static register_post_types ( )

register_taxonomies() 공개 정적인 메소드

Register core taxonomies.
public static register_taxonomies ( )

rest_api_allowed_post_types() 공개 정적인 메소드

Added product for Jetpack related posts.
public static rest_api_allowed_post_types ( array $post_types ) : array
$post_types array
리턴 array

support_jetpack_omnisearch() 공개 정적인 메소드

Add Product Support to Jetpack Omnisearch.
public static support_jetpack_omnisearch ( )