Printcart Photobook 1.4.1 has 0 actions and 57 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.
// Change a value Printcart Photobook is about to use
add_filter( 'pcpb_demo_product_uuid', 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
-
/** * Filters the Printcart demo product UUID seeded onto the sample product. */ apply_filters( 'pcpb_demo_product_uuid', self::DEMO_PRODUCT_UUID ); -
/** * Filter the outgoing event body. Return an empty array to cancel emission. * Never add merchant email/user id, dashboard URL, or any credential — the * backend derives identity from the authenticated store. */ apply_filters( 'pcpb_event_body', $body, $event_key ); -
/** * Filter the computed side role label. */ apply_filters( 'pcpb_files_side_role', $role, $index, (int) $total ); -
/** * Filter whether proof review verdicts are read at all. */ apply_filters( 'pcpb_order_review_verdicts_enabled', true ); -
/** * Filter the detected axis-1 ↔ axis-3 conflict. */ apply_filters( 'pcpb_order_status_conflict', $conflict, $order, $state ); -
/** * Filter the page-count OPTION the verified side count maps to. */ apply_filters( 'pcpb_selection_pages_option_from_sides', $key, $sides, $options, $product_id ); -
/** * Filters the WhatsApp number behind the Help screen's direct line. */ apply_filters( 'pcpb_support_whatsapp', '+84937869689' ); -
apply_filters( 'pcpb_admin_capability', 'manage_woocommerce' ); -
apply_filters( 'pcpb_print_file_enabled', false ); -
apply_filters( 'pcpb_require_reserved_design', true, $owner ); -
apply_filters( 'pcpb_start_panel_price_note', __( 'That is the cheapest combination in the designer. The final price updates as you choose the size, paper, cover and number of pages.', 'printcart-photobook' ), $product_id ); -
apply_filters( 'pcpb_api_base_url', $this->settings->get_api_base_url() ); -
apply_filters( 'pcpb_app_channel', 'wp_org' ); -
apply_filters( 'pcpb_apply_cart_item_price', true, $cart_item ); -
apply_filters( 'pcpb_calculate_payload', array( 'selections' => $selection, 'quantity' => 1, ), $product_id, $variation_id ); -
apply_filters( 'pcpb_dashboard_context_params', $params, $this->settings ); -
apply_filters( 'pcpb_dashboard_url', PCPB_DASHBOARD_URL ); -
apply_filters( 'pcpb_default_size_unit', $unit ); -
apply_filters( 'pcpb_designer_url', $url, $product_id, $project_id, $variation_id ); -
apply_filters( 'pcpb_event_capabilities', array( 'product_sync', 'photobook_builder', 'pricing_options', 'storefront_cta', 'order_sync' ) ); -
apply_filters( 'pcpb_events_enabled', true ); -
apply_filters( 'pcpb_events_endpoint', self::DEFAULT_ENDPOINT ); -
apply_filters( 'pcpb_files_attention_count', $attention_count, $all_rows ); -
apply_filters( 'pcpb_files_low_dpi_threshold', 300 ); -
apply_filters( 'pcpb_files_max_rows', 300 ); -
apply_filters( 'pcpb_files_order_scan_limit', (int) $order_limit ); -
apply_filters( 'pcpb_is_photobook_product', $is, $product_id ); -
apply_filters( 'pcpb_login_url', 'https://www.printcart.com/login' ); -
apply_filters( 'pcpb_manage_credentials_capability', 'manage_options' ); -
apply_filters( 'pcpb_photobook_auto_add', 'yes', $pid ); -
apply_filters( 'pcpb_photobook_iframe_params', $params, $product_id, $variation_id ); -
apply_filters( 'pcpb_privacy_url', 'https://printcart.com/privacy-policy' ); -
apply_filters( 'pcpb_product_uuid', $uuid, $product_id ); -
apply_filters( 'pcpb_replace_add_to_cart', true, $product_id ); -
apply_filters( 'pcpb_resolve_product_uuid', true, $product_id ); -
apply_filters( 'pcpb_selection_pages_from_sides', max( 0, $sides - 3 ), $sides, $product_id ); -
apply_filters( 'pcpb_signup_url', 'https://www.printcart.com/register' ); -
apply_filters( 'pcpb_start_button_label', __( 'Start your photobook', 'printcart-photobook' ), $pid ); -
apply_filters( 'pcpb_start_from_price', round( $total, 2 ), $form ); -
apply_filters( 'pcpb_start_panel', true, $pid ); -
apply_filters( 'pcpb_start_panel_features', array( __( 'Upload your photos and lay out every page yourself', 'printcart-photobook' ), __( 'Pick the size, paper, cover and page count as you go', 'printcart-photobook' ), __( 'Preview each spread before anything is added to your cart', 'printcart-photobook' ), ), $pid ); -
apply_filters( 'pcpb_start_panel_heading', __( 'Design your photobook', 'printcart-photobook' ), $pid ); -
apply_filters( 'pcpb_start_panel_intro', __( 'Build the book page by page in your browser: add your own photos, arrange the spreads, then see the finished book before you order it.', 'printcart-photobook' ), $pid ); -
apply_filters( 'pcpb_start_panel_note', __( 'Nothing is charged until you add the finished book to your cart, and your design is kept so you can come back and change it.', 'printcart-photobook' ), $pid ); -
apply_filters( 'pcpb_start_panel_resume', true, $product_id ); -
apply_filters( 'pcpb_start_panel_size', $size, $pid ); -
apply_filters( 'pcpb_store_integration', 'woocommerce' ); -
apply_filters( 'pcpb_tos_url', 'https://solution.printcart.com/tos/licenses-and-terms' ); -
apply_filters( 'pcpb_unconfirmed_price_label', __( 'To be confirmed', 'printcart-photobook' ), $cart_item, $fallback ); -
apply_filters( 'pcpb_undesigned_add_to_cart_notice', __( 'A photobook is printed from the pages you design, so it cannot be re-ordered as it stands — there is no artwork attached to this one. Please open the product and design your book; if you would like the same book again, you can start from the design saved on your previous order.', 'printcart-photobook' ), $pid ); -
apply_filters( 'pcpb_verify_reserved_designs', true, $project_uuid, $design_ids ); -
apply_filters( 'printcart_connect_paid_statuses', array( 'processing', 'completed' ) );
Generated from Printcart Photobook'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: