Shortcodes and block
The plugin registers two shortcodes and one block. Neither shortcode takes attributes.
[wcmp_my_account]
Section titled “[wcmp_my_account]”Places the full account portal (custom menu, groups, links and avatar) on any page, including block themes. It delegates to WooCommerce’s own [woocommerce_my_account], so the plugin’s menu takeover applies wherever you drop it.
Use it when your My Account page is not the standard WooCommerce page, or when you want the portal on a different page.
[wcmp_my_account][default_dashboard_content]
Section titled “[default_dashboard_content]”Outputs WooCommerce’s stock dashboard panel (the default “Hello, {name}” block). Use it inside a custom endpoint’s Content field when you want the built-in dashboard to appear alongside your own content.
[default_dashboard_content]Developers can change the template this shortcode renders with the wcmp_dashboard_shortcode_template filter. See Filters and actions.
Custom My Account block
Section titled “Custom My Account block”A block named Custom My Account (wcmp/my-account) drops the full portal on any page, including block themes. Like the [wcmp_my_account] shortcode, it server-renders WooCommerce’s My Account output.
Block details:
- Category: WooCommerce
- Alignments: wide and full
- One instance per page (it cannot be added more than once)

