PluginProbe
OpenStation: Desktop Windows, Dock & Virtual Desktops for WP Admin / 1.1.10
OpenStation: Desktop Windows, Dock & Virtual Desktops for WP Admin v1.1.10
1.1.10 1.1.9 1.1.8 1.1.7 1.1.6 1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.1 1.0.0 0.9.8 0.9.7 0.9.6 0.9.4 0.9.5 0.9.3 0.9.2 0.9.1 0.9.0 0.8.9 0.8.8 0.8.7 All 34 releases
← All changes | includes/my-wordpress/preview-actions.php +11 -0 1.1.11.1.10 View file →
@@ -26,8 +26,19 @@
26 26 * 'sections' => array( 'media' ), // optional, default all
27 27 * 'script' => 'my-plugin-actions', // optional handle
28 28 * ]
29 29 *
30 + * `sections` entries match a section's **id** (`'media'`,
31 + * `'cpt-atf-forms'` — auto-registered CPT sections are prefixed
32 + * `cpt-`), a section's declared **post type slug** (`'atf-forms'`),
33 + * or `'*'` for every section. Matching happens client-side.
34 + *
35 + * Timing: descriptors are re-collected when the window config is
36 + * serialized for the browser (see
37 + * the explorer app's per-dispatch payload), the same late
38 + * pass that enqueues declared `script` handles — registering the
39 + * filter any time during a normal bootstrap is fine.
40 + *
30 41 * @package OpenStation
31 42 */
32 43
33 44 defined( 'ABSPATH' ) || exit;