Vanquish Attach Me 1.12.0 has 28 actions and 42 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.
// Run your own code when Vanquish Attach Me fires an action
add_action( 'vanam_order_attachments_saved', function( $order ) {
// Your code runs here.
}, 10, 1 );
// Change a value Vanquish Attach Me is about to use
add_filter( 'vanam_can_download', function( $value, $item, $order ) {
// Change $value here.
return $value;
}, 10, 3 );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
-
/** * Fires after the attachments box has been saved. */ do_action( 'vanam_order_attachments_saved', $order ); -
/** * Last word on whether this download may proceed. */ apply_filters( 'vanam_can_download', true, $item, $order ); -
/** * The parts of the "Access & limits" summary. */ apply_filters( 'vanam_access_summary', $parts, $item, $context, $subject ); -
/** * Count the advanced options an attachment has set. */ apply_filters( 'vanam_advanced_in_use', $count, $item, $context ); -
/** * Room under an editor. */ do_action( 'vanam_after_richtext', $id ); -
/** * Filter whether one attachment goes out with this email. */ apply_filters( 'vanam_attach_to_email', true, $item, $email_id, $order ); -
/** * The chips on an attachment's closed row. */ apply_filters( 'vanam_attachment_chips', $chips, $item, $context, $subject ); -
/** * Fires after a customer has downloaded an attachment. */ do_action( 'vanam_attachment_downloaded', $items[ $id ], $order, $first ); -
/** * Filter whether one attachment is visible to the customer. */ apply_filters( 'vanam_attachment_is_visible', $visible, $item, $order ); -
/** * Filter the emails an attachment can be attached to. */ apply_filters( 'vanam_available_emails', self::disambiguate( $found ), $only_order ); -
/** * Filter whether the visitor may access an attachment. */ apply_filters( 'vanam_can_access_attachment', $allowed, $order, $item ); -
/** * Filter how long an unfinished upload is kept. */ apply_filters( 'vanam_chunk_max_age', DAY_IN_SECONDS ); -
/** * Filter the chunk size in bytes. */ apply_filters( 'vanam_chunk_size', $size ); -
/** * Fill in the defaults a premium module owns. */ apply_filters( 'vanam_defaults_new_attachment', $item, $context ); -
/** * Sanitise a default-option group this class does not own. */ apply_filters( 'vanam_defaults_sanitize_group', $clean, $name, $raw ); -
/** * Add default-option groups. */ apply_filters( 'vanam_defaults_schema', $schema ); -
/** * Filter the file behind a link of this kind. */ apply_filters( 'vanam_delivery_email_file', null, $id ); -
/** * Find a file that has left the order's own list. */ apply_filters( 'vanam_delivery_missing_file', null, $order, $attachment_id ); -
/** * Find a proof file on an order (Premium). */ apply_filters( 'vanam_delivery_proof_file', null, $order, $attachment_id ); -
/** * Filter the tags allowed in the email text. */ apply_filters( 'vanam_email_allowed_tags', $tags ); -
/** * Filter the links an order email carries in place of files too large to * attach to it. */ apply_filters( 'vanam_email_forced_links', $forced, $order, $email_id ); -
/** * Filter the largest file attached to an email. */ apply_filters( 'vanam_email_max_bytes', absint( Settings::get( 'email_max_mb' ) ) * MB_IN_BYTES ); -
/** * Filter the placeholders available in the email text. */ apply_filters( 'vanam_email_placeholders', $replacements, $order ); -
/** * Filter the languages the plugin offers text fields for. */ apply_filters( 'vanam_languages', $languages ); -
/** * Filter the maximum size of a chunked upload, in bytes. */ apply_filters( 'vanam_max_chunked_upload_size', 2 * GB_IN_BYTES ); -
/** * Extra markup inside one attachment on the order page. */ do_action( 'vanam_order_attachment_after_details', $vanam_item, $order ); -
/** * At the end of an open row, above its buttons. */ do_action( 'vanam_order_attachment_after_fields', $item, $order ); -
/** * Extra fields inside an attachment row. */ do_action( 'vanam_order_attachment_fields', $name, $item, $order ); -
/** * Under the file's name, on the row's closed head. */ do_action( 'vanam_order_attachment_head', $item, $order ); -
/** * Whole sections of an order attachment's editor, after "Send with". */ do_action( 'vanam_order_attachment_sections', $name, $item, $order ); -
/** * Filter the attachments loaded for an order. */ apply_filters( 'vanam_order_attachments', $items, $order ); -
/** * Fires before an order is deleted for good, once its attachments are gone. */ do_action( 'vanam_order_deleted', absint( $order_id ) ); -
/** * Filter the hook the attachments box is rendered on. */ apply_filters( 'vanam_order_details_position', $position ); -
/** * Filter the attachments rendered on the order page. */ apply_filters( 'vanam_order_display_attachments', $visible, $order ); -
/** * Before the order's files on the order page. */ do_action( 'vanam_order_display_before', $order ); -
/** * Filter the files that apply to an order without being stored on it. */ apply_filters( 'vanam_order_extra_attachments', array(), $order ); -
/** * Under the order's own files, in the same tab. */ do_action( 'vanam_order_files_after', $order ); -
/** * Whether an order has something else to show on its page. */ apply_filters( 'vanam_order_has_more_to_show', false, $order ); -
/** * The "Message the customer" tab. */ do_action( 'vanam_order_metabox_after', $order ); -
/** * After the box's own scripts and styles are queued. */ do_action( 'vanam_order_metabox_enqueue' ); -
/** * The tab the box opens on: an id from vanam_order_metabox_tabs, or '' for the * last one used in this browser. */ apply_filters( 'vanam_order_metabox_first_tab', '', $order ); -
/** * The tabs after "Files", and what each says beside its name. */ apply_filters( 'vanam_order_metabox_tabs', array( 'proofs' => array( 'label' => __( 'Proofs / File approval', 'vanquish-attach-me-for-woocommerce' ) ), 'message' => array( 'label' => __( 'Message the customer', 'vanquish-attach-me-for-woocommerce' ) ), ), $order ); -
/** * Extra per-order options below the attachment list. */ do_action( 'vanam_order_options_fields', $options ); -
/** * The "Proofs" tab. */ do_action( 'vanam_order_sections_after_files', $order ); -
/** * Extra markup inside one product attachment on the order page. */ do_action( 'vanam_product_attachment_after_details', $vanam_item, $order ); -
/** * Extra fields inside a product attachment row. */ do_action( 'vanam_product_attachment_fields', $name, $item ); -
/** * Whole sections of a product attachment's editor, after "Send with". */ do_action( 'vanam_product_attachment_sections', $name, $item ); -
/** * Under the emails a product file goes out with. */ do_action( 'vanam_product_attachment_send_with', $name, $item ); -
/** * Filter the product attachments that apply to a line item. */ apply_filters( 'vanam_product_attachments', $applicable, $product_id, $order ); -
/** * Under the product's own files. */ do_action( 'vanam_product_files_after', $product_id ); -
/** * Extra markup inside one attachment on the product page. */ do_action( 'vanam_product_page_attachment', $item, $product ); -
/** * Filter an attachment record before it is stored. */ apply_filters( 'vanam_save_order_attachment', $item, $fields, $order ); -
/** * Filter a product attachment before it is stored. */ apply_filters( 'vanam_save_product_attachment', $item, $fields, $product_id ); -
/** * Filter the known settings and their defaults. */ apply_filters( 'vanam_settings_defaults', $defaults ); -
/** * After the free default options, inside the form. */ do_action( 'vanam_settings_defaults_after', $this ); -
/** * More cards for both kinds of attachment, after Availability. */ do_action( 'vanam_settings_defaults_files', $this ); -
/** * Extra cards on the General tab. */ do_action( 'vanam_settings_general_after' ); -
/** * The rows of the "Files & history" card of the General tab. */ do_action( 'vanam_settings_general_files_rows' ); -
/** * More rows of the "Lists & My account" card of the General tab. */ do_action( 'vanam_settings_general_lists_rows' ); -
/** * Settings that a tab of their own saves, and this form must not touch. */ apply_filters( 'vanam_settings_saved_elsewhere', array() ); -
/** * Render one of the tabs added by vanam_settings_tabs. */ do_action( "vanam_settings_tab_{$tab}" ); -
/** * Filter the extra tabs on the settings screen. */ apply_filters( 'vanam_settings_tabs', array() ); -
/** * Filter the resolved template path. */ apply_filters( 'vanam_template_path', $path, $name ); -
/** * Filter one customer-facing string. */ apply_filters( 'vanam_text', $value, $key, $language ); -
/** * Filter the built-in wording for a key. */ apply_filters( 'vanam_text_default', '', $key ); -
/** * Lay out more texts on the Texts tab. */ apply_filters( 'vanam_text_groups', $groups ); -
/** * Filter the editable strings. */ apply_filters( 'vanam_text_keys', $keys ); -
do_action( 'vanam_fs_loaded' ); -
apply_filters( 'wpml_active_languages', null, array( 'skip_missing' => 0 ) ); -
apply_filters( 'wpml_default_language', null );
Generated from Vanquish Attach Me'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.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin 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 thisNot 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: