WPINC_class wp theme.php Notes - WordPress-Thinstall/wordpress-develop GitHub Wiki

interface ThemeInterface extends ArrayAccess {    
    public function errors();
    public function exists();
    public function parent();
    public function cache_delete();
    public function get( $header );
    public function display( $header, $markup = true, $translate = true );
    public function get_stylesheet();
    public function get_template();
    public function get_stylesheet_directory();
    public function get_template_directory();
    public function get_stylesheet_directory_uri();
    public function get_template_directory_uri();
    public function get_theme_root();
    public function get_theme_root_uri();
    public function get_screenshot( $uri = 'uri' );
    public function get_files( $type = null, $depth = 0, $search_parent = false );
    public function get_post_templates();
    public function get_page_templates( $post = null, $post_type = 'page' );
    public function load_textdomain();
    public function is_allowed( $check = 'both', $blog_id = null );

    public static function get_core_default_theme();
    public static function get_allowed( $blog_id = null );
    public static function get_allowed_on_network();
    public static function get_allowed_on_site( $blog_id = null );
    public static function network_enable_theme( $stylesheets );
    public static function network_disable_theme( $stylesheets );
    public static function sort_by_name( &$themes );
}