WP-CLI: كل إجراء، قابل للبرمجة.
سطر الأوامر لووردبريس. لا حاجة لمتصفح.

مُصمَّم ليكون قابلاً للبرمجة النصية
Anything you can do in the WordPress admin, you can do from the terminal. Install and update plugins, import content, create users, run search-replace across a database, rotate keys, manage multisite networks. Bundle any of it into a script, a cron job, or a deploy step. WP-CLI turns WordPress into something you can automate.

wp plugin
تنصيب وتفعيل وتحديث

wp theme
إدارة القوالب والقوالب الإبن (الفرعية)

wp db
تصدير واستيراد واستبدال بحثي

wp user
إنشاء وتحديث وإعادة تعيين كلمات المرور

wp post
إنشاء وتحرير وحذف المحتوى بشكل مجمّع

wp core
تنصيب وتحديث والتحقق من ووردبريس

wp site
إدارة شبكات المواقع المتعددة

wp cron
افحص الأحداث المجدولة وشغّلها
أتمتة أي شيء
يتناسب WP-CLI أينما كنت تكتب نصوصًا برمجية. أدمجه في خط أنابيب النشر لترحيل قاعدة بيانات بين البيئات. وصّله في إجراء GitHub للتحقق من سلامة النواة عند كل طلب سحب. شغّله من cron لتدوير المفاتيح، أو تقليم العابرات، أو إعادة إنشاء الصور المصغرة في الثالثة صباحًا.
wp db export backup.sql
wp search-replace 'https://staging.example.com' 'https://example.com' --all-tables
wp cache flush
WP_CLI::add_command( 'hello', function () {
WP_CLI::success( 'Hello from WP-CLI!' );
} );
وسّعه
صُمّم WP-CLI ليكون قابلاً للتوسع. اكتب أمرًا مخصصًا في بضعة أسطر من PHP وأصدره كإضافة — أو تصفّح فهرس حزم المجتمع للعثور على ما يلبي احتياجك بالفعل.
يحافظ عليه مجتمع ووردبريس
صدر WP-CLI باستمرار منذ عام 2011، ويحافظ عليه متطوعون من جميع أنحاء منظومة ووردبريس المتكاملة. يُصدر كل إصدار تحت حوكمة عامة، وتتخذ المساهمات أشكالًا عديدة — فرز، وثائق، ترجمة، تأليف أوامر، اختبارات.
مُصمّم للمستقبل
The future of web management is autonomous, and WP-CLI is designed to lead the way. Beyond serving as a powerful interface for developers, it provides the standardized, command-driven architecture that AI agents and LLMs need to interact reliably with WordPress. By leveraging the Abilities API, AI connectors, and Model Context Protocol (MCP) support, WP-CLI turns WordPress into a fully agent-ready environment. Whether you are automating routine maintenance or building complex agentic workflows, WP-CLI provides the stable, programmable foundation required for the next generation of intelligence.

