Storefold icon
eCommerce & WooCommerce

Storefold hooks reference

Storefold 1.3.0 has 66 actions and 58 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.

How to use these hooks

Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.

functions.phpyour child theme
// Run your own code when Storefold fires an action
add_action( 'storefold_email_new_order_sent', function( $arg1, $arg2 ) {
	// Your code runs here.
}, 10, 2 );

// Change a value Storefold is about to use
add_filter( 'storefold_email', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.

All hooks

  • includes/class-storefold-emails.php line 192 · used in 2 places
    /**
     * Filters every outgoing marketplace email before sending. Return an empty
     * value to drop the email entirely.
     */
    apply_filters( 'storefold_email', array( 'to' => $to, 'subject' => $subject, 'heading' => $heading, 'body' => $body, ) );
  • includes/class-storefold-emails.php line 335 · used in 2 places
    /**
     * Fires when the new order email was sent to a vendor.
     */
    do_action( 'storefold_email_new_order_sent', $order->get_id(), $vendor->get_id() );
  • includes/class-storefold-emails.php line 311 · used in 2 places
    /**
     * Fires after the approval email was sent to a vendor.
     */
    do_action( 'storefold_email_vendor_approved_sent', $vendor_id );
  • includes/class-storefold-emails.php line 214 · used in 2 places
    /**
     * Filters whether a marketplace email should be sent at all.
     */
    apply_filters( 'storefold_send_email', true, $email );
  • includes/class-storefold-sold-by.php line 156 · used in 2 places
    /**
     * Fires right after a store name in "Sold by" lines and store cards, so
     * extensions can add badges (for example Verified seller).
     */
    do_action( 'storefold_store_badges', $vendor, 'product' );
  • admin/class-storefold-admin.php line 462
    /**
     * Filters the "Needs your attention" items on the marketplace overview. Each
     * item has a count, a label with a %d placeholder and a url.
     */
    apply_filters( 'storefold_admin_inbox_items', $items );
  • admin/class-storefold-admin.php line 132
    /**
     * Fires after the core marketplace submenus were registered, so extensions can
     * add their own screens under the same menu.
     */
    do_action( 'storefold_admin_menu', self::MENU );
  • admin/class-storefold-admin-settings.php line 208
    /**
     * Fires at the top of the settings screen, for extension notices.
     */
    do_action( 'storefold_admin_settings_notices' );
  • admin/class-storefold-admin-settings.php line 87
    /**
     * Fires when the marketplace settings form is saved, after the nonce and
     * capability checks passed. Extensions read and store their own fields here.
     */
    do_action( 'storefold_admin_settings_save' );
  • admin/class-storefold-admin-settings.php line 303
    /**
     * Fires after the core settings sections, inside the settings form. Extensions
     * print their own sections here and save them on
     * storefold_admin_settings_save.
     */
    do_action( 'storefold_admin_settings_sections' );
  • admin/class-storefold-admin-vendors.php line 503
    /**
     * Fires to print the cell of an extra admin vendor list column.
     */
    do_action( 'storefold_admin_vendor_column', $key, $vendor );
  • admin/class-storefold-admin-vendors.php line 415
    /**
     * Filters the extra columns of the admin vendor list, keyed by id. Print the
     * cell content on storefold_admin_vendor_column.
     */
    apply_filters( 'storefold_admin_vendor_columns', array() );
  • admin/class-storefold-admin-vendors.php line 606
    /**
     * Fires on the admin vendor screen after the application details, so
     * extensions can add their own panels.
     */
    do_action( 'storefold_admin_vendor_detail', $vendor );
  • admin/class-storefold-admin-vendors.php line 590
    /**
     * Fires inside the store details form on the admin vendor screen. Print extra
     * table rows; save them on storefold_admin_vendor_profile_save.
     */
    do_action( 'storefold_admin_vendor_profile_fields', $vendor );
  • admin/class-storefold-admin-vendors.php line 199
    /**
     * Fires when the vendor profile form on the admin vendor screen is saved,
     * after the nonce and capability checks passed.
     */
    do_action( 'storefold_admin_vendor_profile_save', $vendor_id );
  • admin/class-storefold-admin-vendors.php line 325
    /**
     * Filters the query arguments of the admin vendor list.
     */
    apply_filters( 'storefold_admin_vendor_query_args', array( 'status' => $status, 'search' => $search, 'number' => $per_page + 1, 'offset' => ( $paged - 1 ) * $per_page, ) );
  • admin/class-storefold-admin-vendors.php line 383
    /**
     * Filters the status links above the admin vendor list. Each view has a label,
     * url, current flag and optional count.
     */
    apply_filters( 'storefold_admin_vendor_views', $views );
  • templates/dashboard/dashboard.php line 88
    /**
     * Fires after the active dashboard section rendered.
     */
    do_action( 'storefold_after_dashboard_section', $section, $vendor );
  • templates/store.php line 250
    /**
     * Fires after store content.
     */
    do_action( 'storefold_after_store_content', $storefold_store );
  • admin/class-storefold-admin-announcements.php line 74
    /**
     * Fires after an announcement was published to vendors.
     */
    do_action( 'storefold_announcement_published', (int) $wpdb->insert_id );
  • includes/class-storefold-ledger.php line 132
    /**
     * Filters the balance a vendor can withdraw right now. Extensions that lock
     * recent earnings subtract them here.
     */
    apply_filters( 'storefold_available_balance', $available, $vendor_id );
  • templates/dashboard/dashboard.php line 74
    /**
     * Fires before the active dashboard section renders.
     */
    do_action( 'storefold_before_dashboard_section', $section, $vendor );
  • includes/class-storefold-products.php line 317
    /**
     * Fires right before a vendor product is saved from the dashboard.
     */
    do_action( 'storefold_before_product_save', $product, $vendor, 0 === $product_id );
  • templates/store.php line 89
    /**
     * Fires above the product grid on a store page.
     */
    do_action( 'storefold_before_store_products', $storefold_store );
  • includes/class-storefold-payout-manager.php line 117
    /**
     * Filters whether a withdrawal request may go ahead. Return a WP_Error to
     * refuse it with a message.
     */
    apply_filters( 'storefold_can_request_withdrawal', true, $vendor, $amount, $method );
  • includes/class-storefold-sold-by.php line 81
    /**
     * Filters the vendor that sells a cart item. Useful when several vendors can
     * sell the same catalog product.
     */
    apply_filters( 'storefold_cart_item_vendor', $vendor, $cart_item );
  • includes/class-storefold-order-splitter.php line 753
    /**
     * Filters the parent order statuses copied down to sub-orders.
     */
    apply_filters( 'storefold_cascade_statuses', array( 'processing', 'on-hold', 'cancelled', 'refunded', 'failed', 'pending', 'completed' ) );
  • includes/class-storefold-commission-engine.php line 186
    /**
     * Filters the commission the marketplace keeps for one order line.
     */
    apply_filters( 'storefold_commission_calculated', round( $commission, wc_get_price_decimals() ), $line_total, $quantity, $rule );
  • includes/class-storefold-commission-engine.php line 668
    /**
     * Fires after a commission row is deleted.
     */
    do_action( 'storefold_commission_deleted', (int) $row->id, (int) $row->vendor_id, (int) $row->order_id );
  • includes/class-storefold-commission-engine.php line 384
    /**
     * Fires after the earnings of a vendor order were credited.
     */
    do_action( 'storefold_commission_earned', $order_id, $vendor_id, $total );
  • includes/class-storefold-commission-engine.php line 297
    /**
     * Fires after a commission row was stored.
     */
    do_action( 'storefold_commission_recorded', (int) $wpdb->insert_id, $order->get_id(), $vendor->get_id() );
  • includes/class-storefold-commission-engine.php line 532
    /**
     * Fires after vendor earnings were reversed for a refund.
     */
    do_action( 'storefold_commission_reversed', $order_id, $vendor_id, $total_reversed );
  • includes/class-storefold-commission-engine.php line 257
    /**
     * Filters a commission row before it is stored.
     */
    apply_filters( 'storefold_commission_row', array( 'order_id' => $order->get_id(), 'parent_order_id' => $order->get_parent_id(), 'order_item_id' => $item_id, 'vendor_id' => $vendor->get_id(), 'product_id' => $product_id, 'quantity' => $item->get_quantity(), 'line_total' => $line_total, 'shipping_amount' => $shipping_amount, 'tax_amount' => $tax_amount, 'commission_amount' => $commission, 'vendor_earning' => $vendor_earning, 'currency' =>... );
  • includes/class-storefold-commission-engine.php line 142
    /**
     * Filters the commission rule used for one product sold by a vendor. A rule
     * has a type (percentage, fixed or percentage_fixed), a rate, a fixed amount
     * and a source label shown in the audit snapshot.
     */
    apply_filters( 'storefold_commission_rule', $rule, $product_id, $vendor );
  • includes/class-storefold-commission-engine.php line 53
    /**
     * Filters the order statuses that cancel pending vendor earnings.
     */
    apply_filters( 'storefold_commission_void_statuses', array( 'cancelled', 'failed' ) );
  • includes/class-storefold-coupons.php line 149
    /**
     * Fires after a vendor saved a coupon.
     */
    do_action( 'storefold_coupon_saved', $coupon_id, $vendor->get_id() );
  • includes/class-storefold-vendor-manager.php line 519
    /**
     * Filters the store the current user manages. Accounts that work for a store
     * they do not own can resolve to that store here.
     */
    apply_filters( 'storefold_current_vendor', Storefold_Vendor::get_by_user( $user_id ), $user_id );
  • includes/class-storefold-orders.php line 249
    /**
     * Fires after a vendor sent a note to the customer.
     */
    do_action( 'storefold_customer_note_added', $order->get_id(), $vendor->get_id(), $note );
  • includes/class-storefold-dashboard.php line 295
    /**
     * Filters the final dashboard navigation.
     */
    apply_filters( 'storefold_dashboard_menu', $menu, $active );
  • includes/class-storefold-dashboard.php line 270
    /**
     * Filters the dashboard navigation before access checks run. Each item is an
     * array with a label and an icon key.
     */
    apply_filters( 'storefold_dashboard_menu_items', $items, $active );
  • templates/dashboard/overview.php line 49
    /**
     * Fires above the onboarding checklist on the dashboard overview.
     */
    do_action( 'storefold_dashboard_overview_notices', $vendor );
  • includes/class-storefold-dashboard.php line 88
    /**
     * Filters the dashboard sections reserved for the store owner.
     */
    apply_filters( 'storefold_dashboard_owner_sections', array( 'earnings', 'withdrawals', 'settings' ) );
  • includes/class-storefold-dashboard.php line 180
    /**
     * Filters the dashboard section about to render.
     */
    apply_filters( 'storefold_dashboard_section', $section );
  • includes/class-storefold-dashboard.php line 72
    /**
     * Filters the capability each dashboard section requires.
     */
    apply_filters( 'storefold_dashboard_section_caps', $caps );
  • includes/class-storefold-dashboard.php line 142
    /**
     * Filters the dashboard sections and the template each one renders.
     */
    apply_filters( 'storefold_dashboard_sections', $this->sections );
  • includes/class-storefold-install.php line 56
    /**
     * Fires when the plugin is deactivated, before rewrite rules are flushed.
     */
    do_action( 'storefold_deactivated' );
  • admin/class-storefold-admin-docs.php line 413
    /**
     * Filters the chapters of the built-in documentation. Each chapter has an id,
     * title, optional intro and a list of entries, each with an optional id, a
     * term and a plain-text description.
     */
    apply_filters( 'storefold_docs_sections', $sections );
  • includes/storefold-functions.php line 87
    /**
     * Filters the marketplace email classes registered with WooCommerce.
     */
    apply_filters( 'storefold_email_classes', $classes );
  • includes/class-storefold-assets.php line 65
    /**
     * Fires after the frontend marketplace assets were enqueued.
     */
    do_action( 'storefold_enqueue_frontend_assets' );
  • includes/class-storefold-order-splitter.php line 92
    /**
     * Filters whether vendor sub-orders are kept out of WooCommerce Analytics, so
     * a split order is counted once.
     */
    apply_filters( 'storefold_exclude_suborders_from_analytics', true );
  • includes/class-storefold-vendor-manager.php line 43
    /**
     * Filters the roles kept out of wp-admin and limited to their own media.
     */
    apply_filters( 'storefold_frontend_only_roles', array( 'storefold_vendor' ) );
  • admin/class-storefold-admin.php line 738
    /**
     * Filters the marketplace health checks. Each check has an ok flag, a label
     * and a plain-language hint.
     */
    apply_filters( 'storefold_health_checks', $checks );
  • includes/class-storefold-products.php line 91
    /**
     * Filters product ids hidden from vendor product lists and storefronts.
     */
    apply_filters( 'storefold_hidden_product_ids', array() );
  • includes/class-storefold-install.php line 42
    /**
     * Fires after the core installation routine ran.
     */
    do_action( 'storefold_installed' );
  • includes/class-storefold-assets.php line 103
    /**
     * Filters whether the current request shows a marketplace surface and should
     * load the frontend styles and scripts.
     */
    apply_filters( 'storefold_is_marketplace_page', $is_page );
  • includes/class-storefold-dashboard.php line 106
    /**
     * Filters whether the current dashboard user owns the store. Accounts that
     * work for a store without owning it should return false.
     */
    apply_filters( 'storefold_is_store_owner', true, get_current_user_id() );
  • includes/class-storefold-ledger.php line 67
    /**
     * Fires after a ledger entry was appended.
     */
    do_action( 'storefold_ledger_entry_added', $entry_id, $vendor_id, $entry_type, $amount );
  • includes/class-storefold-plugin.php line 107
    /**
     * Fires once every core component is constructed. Extensions boot here.
     */
    do_action( 'storefold_loaded', $this );
  • includes/class-storefold-template.php line 34
    /**
     * Filters the file used for a Storefold template.
     */
    apply_filters( 'storefold_locate_template', $template, $name );
  • includes/class-storefold-products.php line 302
    /**
     * Filters the status given to a product a vendor creates.
     */
    apply_filters( 'storefold_new_product_status', $new_status, $vendor );
  • includes/class-storefold-dashboard.php line 354
    /**
     * Filters the onboarding checklist steps. Each step has a label, a done flag
     * and a url.
     */
    apply_filters( 'storefold_onboarding_steps', $steps, $vendor );
  • includes/class-storefold-order-splitter.php line 416
    /**
     * Fires when a single-vendor order is assigned to its vendor without creating
     * a sub-order.
     */
    do_action( 'storefold_order_assigned', $order->get_id(), $vendor->get_id() );
  • includes/class-storefold-order-splitter.php line 332
    /**
     * Filters whether an order line is kept by the marketplace and left out of
     * vendor sub-orders and commissions.
     */
    apply_filters( 'storefold_order_item_excluded', false, $item );
  • includes/class-storefold-order-splitter.php line 353
    /**
     * Filters the vendor that sells an order line. Useful when several vendors can
     * sell the same catalog product.
     */
    apply_filters( 'storefold_order_item_vendor', $vendor, $item );
  • includes/class-storefold-order-splitter.php line 381
    /**
     * Filters whether an order is split into vendor sub-orders.
     */
    apply_filters( 'storefold_order_should_split', true, $order );
  • includes/class-storefold-order-splitter.php line 473
    /**
     * Fires after an order was split into vendor sub-orders.
     */
    do_action( 'storefold_order_split', $order->get_id() );
  • includes/class-storefold-settings.php line 101
    /**
     * Filters the address of a marketplace page.
     */
    apply_filters( 'storefold_page_url', $url, $page );
  • templates/dashboard/settings.php line 139
    /**
     * Fires for a payout method that has no simple form fields, so the gateway can
     * print its own fieldset (for example a connect button).
     */
    do_action( "storefold_payout_gateway_fieldset_{$storefold_gateway->get_key()}", $vendor, $storefold_gateway );
  • includes/class-storefold-products.php line 408
    /**
     * Fires after a vendor deleted (trashed) one of their products.
     */
    do_action( 'storefold_product_deleted', $product_id, $vendor->get_id() );
  • includes/class-storefold-products.php line 229
    /**
     * Filters whether the vendor may save this product. Return a WP_Error to stop
     * the save; when the error data holds a "section" key the vendor is sent to
     * that dashboard section with the error message.
     */
    apply_filters( 'storefold_product_save_check', true, $vendor, $product_id );
  • includes/class-storefold-products.php line 358
    /**
     * Fires after a vendor saved a product from the dashboard.
     */
    do_action( 'storefold_product_saved', $saved_id, $vendor->get_id() );
  • admin/class-storefold-admin.php line 339
    /**
     * Filters how many stores the Products list vendor filter offers.
     */
    apply_filters( 'storefold_product_vendor_filter_limit', 200 );
  • includes/class-storefold-payout-manager.php line 46
    /**
     * Filters the payout gateways vendors can be paid with. Add objects
     * implementing Storefold_Payout_Gateway_Interface.
     */
    apply_filters( 'storefold_register_payout_gateways', $gateways );
  • templates/registration-form.php line 113
    /**
     * Fires after any extra application questions in the vendor registration form.
     */
    do_action( 'storefold_registration_after_custom_fields' );
  • templates/registration-form.php line 103
    /**
     * Fires before any extra application questions in the vendor registration
     * form.
     */
    do_action( 'storefold_registration_before_custom_fields' );
  • includes/class-storefold-vendor-manager.php line 144
    /**
     * Filters the profile collected by the registration form, after the nonce was
     * verified. Return a WP_Error to reject the application with its message.
     */
    apply_filters( 'storefold_registration_profile', $profile );
  • includes/rest/class-storefold-rest-controller.php line 278
    /**
     * Filters the public store data returned by the REST API.
     */
    apply_filters( 'storefold_rest_store_data', array( 'id' => $vendor->get_id(), 'name' => $vendor->get_store_name(), 'slug' => $vendor->get_slug(), 'url' => $vendor->get_store_url(), 'logo' => $vendor->get_logo_url( 'medium' ), 'banner' => $vendor->get_banner_url(), 'bio' => (string) $vendor->get_setting( 'bio' ), 'rating' => $vendor->get_average_rating(), 'review_count' => $vendor->get_review_count(), 'on_vacation' => $vendor->is_on_vacat... );
  • includes/class-storefold-settings.php line 45
    /**
     * Filters a marketplace setting when it is read.
     */
    apply_filters( 'storefold_setting', $value, $key, $default );
  • admin/class-storefold-admin-settings.php line 94
    /**
     * Fires after the marketplace settings were saved.
     */
    do_action( 'storefold_settings_saved' );
  • admin/class-storefold-admin.php line 570
    /**
     * Filters the "Getting started" steps on the marketplace overview. Each step
     * has a label, hint, url and done flag.
     */
    apply_filters( 'storefold_setup_steps', $steps );
  • admin/class-storefold-admin-upgrade-banner.php line 86
    /**
     * Filters whether the Storefold Pro upgrade banner is shown.
     */
    apply_filters( 'storefold_show_upgrade_banner', true );
  • includes/class-storefold-order-splitter.php line 226
    /**
     * Filters whether WooCommerce's own emails stay silent for vendor sub-orders.
     * Return false to send them again.
     */
    apply_filters( 'storefold_silence_suborder_emails', true, $object );
  • includes/class-storefold-sold-by.php line 135
    /**
     * Filters the vendor shown in the "Sold by" line on a product page. Return
     * null to hide the line.
     */
    apply_filters( 'storefold_single_product_sold_by', $vendor, $product );
  • admin/class-storefold-admin-reviews.php line 64
    /**
     * Fires after a store review was moderated.
     */
    do_action( 'storefold_store_review_moderated', $review_id, $decision );
  • includes/class-storefold-storefront.php line 374
    /**
     * Fires after a review was reported.
     */
    do_action( 'storefold_store_review_reported', $review_id, get_current_user_id() );
  • includes/class-storefold-storefront.php line 293
    /**
     * Fires after a customer rated a store.
     */
    do_action( 'storefold_store_review_submitted', $vendor->get_id(), get_current_user_id(), $rating );
  • includes/class-storefold-storefront.php line 169
    /**
     * Filters the schema.org data printed on a store page.
     */
    apply_filters( 'storefold_store_schema', $schema, $vendor );
  • templates/dashboard/settings.php line 177
    /**
     * Fires below the store settings form, for extensions that need their own
     * separate forms (for example document uploads).
     */
    do_action( 'storefold_store_settings_after_form', $vendor );
  • includes/class-storefold-dashboard.php line 447
    /**
     * Fires after the vendor saved their store settings.
     */
    do_action( 'storefold_store_settings_saved', $vendor->get_id() );
  • templates/dashboard/settings.php line 106
    /**
     * Fires inside the store settings form, between the policies and the payout
     * sections, so extensions can add their own settings cards.
     */
    do_action( 'storefold_store_settings_sections', $vendor );
  • includes/class-storefold-dashboard.php line 436
    /**
     * Filters the per-vendor settings saved from the dashboard settings screen.
     * Runs after the request nonce and capability were verified.
     */
    apply_filters( 'storefold_store_settings_values', $settings, $vendor );
  • templates/store.php line 49
    /**
     * Fires right after the store name in the storefront header, for badges.
     */
    do_action( 'storefold_store_title_after', $storefold_store );
  • includes/class-storefold-shortcodes.php line 59
    /**
     * Filters how many stores the directory shows per page.
     */
    apply_filters( 'storefold_stores_per_page', 12 );
  • includes/class-storefold-order-splitter.php line 520
    /**
     * Filters the arguments used to create a vendor sub-order.
     */
    apply_filters( 'storefold_suborder_args', array( 'customer_id' => $parent->get_customer_id(), 'parent' => $parent->get_id(), 'status' => $parent->get_status(), 'created_via' => 'storefold_split', ), $parent, $vendor );
  • includes/class-storefold-order-splitter.php line 448
    /**
     * Fires when a vendor sub-order was created.
     */
    do_action( 'storefold_suborder_created', $suborder->get_id(), $order->get_id(), $vendor->get_id() );
  • includes/class-storefold-order-splitter.php line 589
    /**
     * Fires after a parent line was copied into a vendor sub-order, before the
     * sub-order is saved. Use it to copy private item meta.
     */
    do_action( 'storefold_suborder_item_created', $new_item, $item, $vendor );
  • includes/class-storefold-order-splitter.php line 696
    /**
     * Filters the exact shipping amount a vendor charged on an order. Return null
     * to fall back to a share proportional to the subtotal.
     */
    apply_filters( 'storefold_suborder_shipping_exact', null, $parent, $vendor );
  • includes/class-storefold-order-splitter.php line 723
    /**
     * Filters the shipping amount added to a vendor sub-order.
     */
    apply_filters( 'storefold_suborder_shipping_share', $share, $parent, $vendor_subtotal, $vendor );
  • includes/class-storefold-order-splitter.php line 650
    /**
     * Filters the exact shipping taxes (per tax rate id) a vendor charged on an
     * order. Return null to share the parent's shipping taxes in proportion to the
     * vendor's shipping amount.
     */
    apply_filters( 'storefold_suborder_shipping_taxes_exact', null, $parent, $vendor, $shipping_share );
  • includes/class-storefold-orders.php line 204
    /**
     * Fires after a vendor added shipping tracking to an order.
     */
    do_action( 'storefold_tracking_added', $order->get_id(), $tracking, $carrier );
  • includes/class-storefold-products.php line 111
    /**
     * Filters the product categories a vendor may list in. Return an empty array
     * to allow every category.
     */
    apply_filters( 'storefold_vendor_allowed_category_ids', array(), $vendor );
  • admin/class-storefold-admin-vendors.php line 637
    /**
     * Filters the answers to the extra application questions shown on the admin
     * vendor screen, keyed by question.
     */
    apply_filters( 'storefold_vendor_application_answers', (array) $vendor->get_setting( 'application', array() ), $vendor );
  • includes/class-storefold-vendor-manager.php line 345
    /**
     * Fires when a vendor is approved.
     */
    do_action( 'storefold_vendor_approved', $vendor_id );
  • includes/class-storefold-products.php line 74
    /**
     * Filters whether a vendor's products can be bought right now.
     */
    apply_filters( 'storefold_vendor_can_sell', $can_sell, $vendor, $product );
  • includes/class-storefold-vendor-manager.php line 493
    /**
     * Fires after a vendor record was deleted.
     */
    do_action( 'storefold_vendor_deleted', $vendor_id );
  • includes/class-storefold-order-splitter.php line 280
    /**
     * Fires once per vendor order, when it is paid.
     */
    do_action( 'storefold_vendor_order_paid', $order->get_id(), $vendor_id );
  • includes/class-storefold-vendor-manager.php line 282
    /**
     * Fires when a vendor record is created.
     */
    do_action( 'storefold_vendor_registered', $vendor_id, $user_id );
  • includes/class-storefold-vendor-manager.php line 335
    /**
     * Fires when a vendor's status changes.
     */
    do_action( 'storefold_vendor_status_changed', $vendor_id, $status );
  • includes/class-storefold-vendor-manager.php line 440
    /**
     * Fires after a vendor record was updated.
     */
    do_action( 'storefold_vendor_updated', $vendor_id );
  • includes/class-storefold-payout-manager.php line 408
    /**
     * Fires after a vendor cancelled a withdrawal request.
     */
    do_action( 'storefold_withdrawal_cancelled', $withdrawal_id );
  • includes/class-storefold-payout-manager.php line 103
    /**
     * Filters the smallest withdrawal a vendor may request.
     */
    apply_filters( 'storefold_withdrawal_min', Storefold_Settings::get( 'withdrawal_min', 0 ), $vendor );
  • includes/class-storefold-payout-manager.php line 319
    /**
     * Fires after a withdrawal was paid.
     */
    do_action( 'storefold_withdrawal_paid', $withdrawal_id, $vendor->get_id(), (float) $withdrawal->amount );
  • includes/class-storefold-payout-manager.php line 361
    /**
     * Fires after a withdrawal request was rejected.
     */
    do_action( 'storefold_withdrawal_rejected', $withdrawal_id );
  • includes/class-storefold-payout-manager.php line 201
    /**
     * Fires after a vendor requested a withdrawal.
     */
    do_action( 'storefold_withdrawal_requested', $withdrawal_id, $vendor->get_id(), $amount );
  • templates/dashboard/withdrawals.php line 53
    /**
     * Fires below the available balance on the vendor payouts screen.
     */
    do_action( 'storefold_withdrawals_after_balance', $vendor );
  • admin/class-storefold-admin-wizard.php line 85
    /**
     * Fires after the setup wizard saved its choices.
     */
    do_action( 'storefold_wizard_completed' );
  • includes/emails/class-storefold-email-new-vendor-order.php line 135
    /**
     * Fires the standard WooCommerce customer details renderer.
     */
    do_action( 'woocommerce_email_customer_details', $order, false, false, $this );
  • templates/emails/marketplace-notification.php line 24
    /**
     * Fires when the WooCommerce email header renders.
     */
    do_action( 'woocommerce_email_header', $email_heading, $email );
  • includes/emails/class-storefold-email-new-vendor-order.php line 111
    /**
     * Fires the standard WooCommerce order details table renderer.
     */
    do_action( 'woocommerce_email_order_details', $order, false, false, $this );
  • includes/emails/class-storefold-email-new-vendor-order.php line 123
    /**
     * Fires the standard WooCommerce order meta renderer.
     */
    do_action( 'woocommerce_email_order_meta', $order, false, false, $this );
  • includes/class-storefold-payout-manager.php line 253
    do_action( 'storefold_before_payout', $withdrawal_id, $vendor->get_id() );

Generated from Storefold's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Done for you

Rather have it built for you?

Tell us what should change and we’ll write and test the code using these hooks.

Plugin customisation

from $149

New features or changed behaviour, without editing the plugin’s files.

  • Built as a companion plugin, so updates never wipe it
  • Exact quote before we start
  • Tested on staging, then deployed

Typical turnaround: 3–7 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Can't find the right hook?

We can build the customisation for you. Describe what you need: