{"id":924,"date":"2026-10-18T13:14:24","date_gmt":"2026-10-18T13:14:24","guid":{"rendered":"http:\/\/plugin-docs.com\/?post_type=doc&#038;p=924"},"modified":"2026-10-18T13:27:22","modified_gmt":"2026-10-18T13:27:22","slug":"wordpress-meta-box-setup-trigger","status":"publish","type":"doc","link":"https:\/\/dragwyb.com\/docs\/wordpress-meta-box-setup-trigger\/","title":{"rendered":"Use the WordPress Meta Box Setup Trigger"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The <strong>Meta Box Setup<\/strong> trigger is available in the WordPress <strong>Post<\/strong> group in the AI Agent Workflows editor. It starts a workflow when WordPress fires the <code>add_meta_boxes<\/code> hook. The exact timing depends on the event represented by that hook.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Screenshot to add: [Workflow editor showing the Meta Box Setup trigger and its configuration]<\/p>\n\n\n<h2 class=\"wp-block-heading\">When this trigger fires<\/h2>\n\n\n<p class=\"wp-block-paragraph\">This trigger maps to WordPress&#8217;s <code>add_meta_boxes<\/code> hook, which relates to meta-box setup rather than a completed post save. Use it only when that timing matches your automation.<\/p>\n\n\n<h2 class=\"wp-block-heading\">Data available to later nodes<\/h2>\n\n\n<p class=\"wp-block-paragraph\">For recognized post hooks, the plugin normalizes the event into fields such as <code>source<\/code>, <code>event<\/code>, <code>post_id<\/code>, <code>post_title<\/code>, <code>post_content<\/code>, <code>post_content_text<\/code>, <code>post_excerpt<\/code>, <code>post_status<\/code>, <code>post_type<\/code>, <code>post_name<\/code>, <code>post_author<\/code>, <code>post_date<\/code>, <code>post_modified<\/code>, and <code>post_parent<\/code> when the corresponding post data is available. Some hooks add event-specific values, such as old and new status or an update flag. Inspect a captured sample in the editor before relying on a particular field.<\/p>\n\n\n<h2 class=\"wp-block-heading\">Configure the trigger<\/h2>\n\n\n<ol class=\"wp-block-list\">\n\n<li>Open the workflow in the visual editor and open the node picker.<\/li>\n\n\n<li>Select <strong>WordPress<\/strong>, then the <strong>Post<\/strong> group, and add <strong>Meta Box Setup<\/strong>.<\/li>\n\n\n<li>This catalog entry does not expose the configurable <strong>Post Types<\/strong> filter. Review its captured data to confirm it matches your intended use.<\/li>\n\n\n<li>Save the workflow and test the relevant event on a test site or with non-critical content. Inspect the trigger sample before mapping values to later nodes.<\/li>\n\n<\/ol>\n\n\n<h2 class=\"wp-block-heading\">Source hook<\/h2>\n\n\n<p class=\"wp-block-paragraph\">Catalog hook: <code>add_meta_boxes<\/code>. This reference describes the trigger registration in the supplied plugin source; it does not claim that a live event has been tested.<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>Learn when the meta box setup trigger fires, what post-type context it receives, and why it is different from a post-save event.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":956,"menu_order":0,"template":"","class_list":["post-924","doc","type-doc","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/dragwyb.com\/docs\/wp-json\/wp\/v2\/doc\/924","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dragwyb.com\/docs\/wp-json\/wp\/v2\/doc"}],"about":[{"href":"https:\/\/dragwyb.com\/docs\/wp-json\/wp\/v2\/types\/doc"}],"author":[{"embeddable":true,"href":"https:\/\/dragwyb.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/dragwyb.com\/docs\/wp-json\/wp\/v2\/doc\/924\/revisions"}],"predecessor-version":[{"id":975,"href":"https:\/\/dragwyb.com\/docs\/wp-json\/wp\/v2\/doc\/924\/revisions\/975"}],"up":[{"embeddable":true,"href":"https:\/\/dragwyb.com\/docs\/wp-json\/wp\/v2\/doc\/956"}],"wp:attachment":[{"href":"https:\/\/dragwyb.com\/docs\/wp-json\/wp\/v2\/media?parent=924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}