У нас вы можете посмотреть бесплатно Block Less, Smile More: How St. Olaf College Cracked the Block-Hiding Code - WPCampus 2024 или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
When we at St. Olaf began the move to Gutenberg blocks, we quickly realized the need to decrease the number of blocks available to our site admins. Using the UI, or even something more programmatic, still fell short of what we needed in terms of scope and flexibility. We wanted control over not only core blocks, but block variations, ACF blocks from our theme, and blocks introduced by 3rd party plugins. In this session, I’ll break down our approach to developing a centralized plugin that lists all currently-registered blocks, updating as plugins are activated and deactivated. This approach provides our end-users with a slim, curated block inserter, while allowing our 2-person web team complete, network-level control over which blocks to show and hide. Attendees will see an example of the plugin in action, and then we’ll delve into the code to learn about some hooks provided by WordPress that came in particularly handy, and see how we incorporated them into our plugin. I’ll also highlight some challenges and pitfalls — from navigating the loading sequence to updating network settings via the Settings API — so those wishing to use a similar approach will know where to start, and what to avoid. Presenter Bret Farley About WPCampus 2024 WPCampus 2024 is the eleventh annual conference for the WPCampus community, a gathering of web professionals, educators, and people dedicated to the confluence of WordPress and accessibility in higher education.