У нас вы можете посмотреть бесплатно Creating commands for the Commands Palette или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
In this session, I explore creating custom commands for the WordPress Command Palette (now available everywhere in WP 6.9). I walk through three main approaches: first, the simple dispatch method using WP.data.dispatch('core/commands') which works across all admin pages. Then I show how to use React hooks like useCommand when you need more complex functionality - though this requires manually creating DOM elements and hydrating React components since hooks only work in React environments. Fin... Chapters 04:01 Stream introduction and technical setup 04:24 Welcome and session overview 06:24 Command palette exploration introduction 07:16 WordPress 6.9 command palette availability 08:32 Challenges with React hooks outside block editor 14:33 Setting up local development environment 18:44 Creating commands using dispatch method 23:00 Exploring WordPress data stores and Redux 30:02 Programming language recommendations discussion 39:48 Review of command registration methods 44:00 Creating React-based commands with hooks 59:20 Latest posts command demonstration 1:05:04 Command contexts and prioritization 1:13:40 Register plugin approach for block editor 1:21:04 Copy post content command implementation 1:29:40 Block usage command with restrictions -- Projects -- – Cursor Rules Downloader: https://marketplace.visualstudio.com/... – WordPress URL Grabber: https://github.com/juanmaguitar/list-... Follow me Twitter → https://x.com/juanmaguitar LinkedIn → / juanmagarrido Bluesky: https://bsky.app/profile/juanmaguitar... Blog → https://juanma.codes/ Other Social: WordPress → https://profiles.wordpress.org/juanma... Twitch → / juanma_codes YouTube → / @juanmacodes GitHub → https://github.com/juanma-wp GitHub → https://github.com/juanmaguitar Threads → https://www.threads.net/@juanmaguitar