public static function register( $slug, $name ) {
		if ( version_compare( floatval( get_bloginfo( 'version' ) ), '4.7', '<' ) ) {
			self::old_register( $slug, $name );
		} else {
			self::$templates[ $slug ] = $name;
			add_filter( 'theme_page_templates', [ __CLASS__, 'register_template' ] );
		}
	}