Meta-Boxes and Shortcodes
Meta-Boxes
Services can now be used for Meta-Boxes:
services:
MyBox:
meta_box:
rlcs:
title: Recent matches
screen: post
context: side
priority: low
When rendering the meta-box the service will be invoked.
Shortcodes
Services can also be used as shortcodes:
services:
MyOwnShortcode:
shortcode:
i_am_the_danger: deprecatedUsage
is_that_you: __invoke
Here we see two shortcodes and how they are mapped to specific methods.
Other changes
- cli: Redirecting to other methods
- cli: Allow adding deep nodes
- qa: PHPStan uses original WP functions