register_routes(); } ); } /** * Whether the browser-side repair may run. * * The queue is written either way, so the pass can be switched back on later for imports * that already happened instead of losing them. */ public static function is_enabled(): bool { $enabled = (bool) get_option( self::ENABLED_OPTION, true ); /** * Filter whether the post-import block rebuild runs. * * @param bool $enabled */ return (bool) apply_filters( 'templately_block_rebuild_enabled', $enabled ); } }