PHP 클래스 WC_Admin

저자: WooThemes
파일 보기 프로젝트 열기: woocommerce/woocommerce

공개 메소드들

메소드 설명
__construct ( ) Constructor.
admin_footer_text ( string $footer_text ) : string Change the admin footer text on WooCommerce admin pages.
admin_redirects ( ) Handle redirects to setup/welcome page after install and updates.
buffer ( ) Output buffering allows admin screens to make redirects later on.
conditional_includes ( ) Include admin files conditionally.
includes ( ) Include any classes we need within admin.
prevent_admin_access ( ) Prevent any user who cannot 'edit_posts' (subscribers, customers etc) from accessing admin.
preview_emails ( ) : string Preview email template.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( )

admin_redirects() 공개 메소드

For setup wizard, transient must be present, the user must have access rights, and we must ignore the network/bulk plugin updaters.
public admin_redirects ( )

buffer() 공개 메소드

Output buffering allows admin screens to make redirects later on.
public buffer ( )

conditional_includes() 공개 메소드

Include admin files conditionally.

includes() 공개 메소드

Include any classes we need within admin.
public includes ( )

prevent_admin_access() 공개 메소드

Prevent any user who cannot 'edit_posts' (subscribers, customers etc) from accessing admin.

preview_emails() 공개 메소드

Preview email template.
public preview_emails ( ) : string
리턴 string