메소드 | 설명 | |
---|---|---|
current_screen ( ) : WP_Screen | Returns the "current screen." | |
has_query_var ( string $var_name, string | boolean $expected_value = null ) : boolean | Return true if a URL query var is not empty and optionally matches an expected value. | |
is_page ( integer $page_id ) : boolean | Is the Front Page configured to display a $post_type='page'? | |
maybe_make_abspath_relative ( string $filepath ) : string | Takes a filepath and potentially returns a relative path (prefixed with '~/'), if $filepath begins with ABSPATH. | |
on_load ( ) |
static public current_screen ( ) : WP_Screen | ||
리턴 | WP_Screen |
static public maybe_make_abspath_relative ( string $filepath ) : string | ||
$filepath | string | |
리턴 | string |