%s

', esc_html( sprintf( /* translators: 1: required PHP version, 2: current PHP version */ __( 'افزونه راهکار وردپرس به PHP نسخه %1$s یا بالاتر نیاز دارد. نسخه فعلی سرور شما %2$s است.', 'rahkar-toolkit' ), RAHKAR_WP_MIN_PHP, PHP_VERSION ) ) ); } ); return; } /** * Autoloader. * * Production builds ship a Composer classmap-authoritative autoloader (zero * filesystem stat calls). The hand-rolled PSR-4 fallback exists purely so the * plugin runs from a fresh checkout before `composer install`. */ if ( is_readable( RAHKAR_WP_DIR . 'vendor/autoload.php' ) ) { require_once RAHKAR_WP_DIR . 'vendor/autoload.php'; } else { require_once RAHKAR_WP_DIR . 'src/autoload-fallback.php'; } register_activation_hook( __FILE__, [ Rahkar\WP\Lifecycle::class, 'activate' ] ); register_deactivation_hook( __FILE__, [ Rahkar\WP\Lifecycle::class, 'deactivate' ] ); /** * Boot. * * This is the only unconditional work the plugin does on a request: read the * manifest (already in memory via `alloptions`), resolve the request context, * and register the providers that survive both gates. Everything else is lazy. */ Rahkar\WP\Plugin::instance()->boot();