Dev hooks?
-
I’m importing orders and want the plugin to renumber orders at the end of the process. If I click Update in the admin, this happens, but not when importing the order items. I execute the following code at the end of the import as it saves the post (order):
$order = new WC_Order( $post_id );
$order->calculate_totals();
$order->save();
Despite this the order doesn’t invoice this plugin. Is there a function to do that?
-
More info:
Uncommenting the line:add_action(‘wp_insert_post’, array($this, ‘set_sequential_number’), 10, 2);
in the file class-wt-advanced-order-number.php does what I want but I’d still like a way to do this in my code since that will be overwritten when the plugin updates
We use the
woocommerce_new_orderhook, notwp_insert_postin the plugin. Kindly let us know the issue you’re facing whenadd_action('wp_insert_post', array($this, 'set_sequential_number'), 10, 2);is hidden. Also, please share your WooCommerce system status report (WooCommerce > Status > System status > Get system report) for a better understanding of the issue.You may share the details via this link if you have any privacy concerns.
If I don’t uncomment that line then the order number does not update when I do an import – it uses the default Woo order number. To get the plugin to update the order number I need to open each imported order and click the Update button If I do uncomment the wp_insert_post line the order number correctly updates to the settings I’ve created in your plugin
NOTE: You’ll see a some complaints below about woocommerce templates. These are irrelevant since I’m using Breakdance which disables the theme.` WordPress Environment</p></p> <p>` WordPress Environment
WordPress address (URL): https://kaiscissors.biz
Site address (URL): https://kaiscissors.biz
WC Version: 10.0.4
Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.
Action Scheduler Version: ✔ 3.9.2
Log Directory Writable: ✔
WP Version: 6.8.2
WP Multisite: –
WP Memory Limit: 768 MB
WP Debug Mode: ✔
WP Cron: –
Language: en_US
External object cache: ✔ Server EnvironmentServer Info: nginx/1.28.0
Server Architecture: Linux 6.8.0-62-generic x86_64
PHP Version: 8.2.28
PHP Post Max Size: 64 MB
PHP Time Limit: 30
PHP Max Input Vars: 1000
cURL Version: 8.5.0
OpenSSL/3.0.13SUHOSIN Installed: –
MySQL Version: 8.4.5
Max Upload Size: 64 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔ DatabaseWC Database Version: 10.0.4
WC Database Prefix: npw_
Total Database Size: 150.75MB
Database Data Size: 111.65MB
Database Index Size: 39.10MB
npw_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
npw_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
npw_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_woocommerce_order_itemmeta: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
npw_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
npw_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
npw_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
npw_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
npw_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_ac_segments: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_actionscheduler_actions: Data: 0.11MB + Index: 0.11MB + Engine InnoDB
npw_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_actionscheduler_logs: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
npw_admin_columns: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_breakdance_icon_sets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_breakdance_icons: Data: 2.52MB + Index: 0.34MB + Engine InnoDB
npw_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
npw_comments: Data: 22.55MB + Index: 18.09MB + Engine InnoDB
npw_ewwwio_images: Data: 1.52MB + Index: 1.75MB + Engine InnoDB
npw_ewwwio_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_facetwp_index: Data: 0.14MB + Index: 0.20MB + Engine InnoDB
npw_gf_addon_feed: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_gf_entry: Data: 0.50MB + Index: 0.14MB + Engine InnoDB
npw_gf_entry_meta: Data: 1.52MB + Index: 2.08MB + Engine InnoDB
npw_gf_entry_notes: Data: 1.52MB + Index: 0.17MB + Engine InnoDB
npw_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_gf_form_meta: Data: 0.03MB + Index: 0.00MB + Engine InnoDB
npw_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
npw_gf_form_view: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
npw_gf_rest_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
npw_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_customers: Data: 3.52MB + Index: 0.00MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_customers_pairs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_data_pairs: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_items: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_list_account: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_list_class: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_list_customertype: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_list_inventorysite: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_list_paymentmethod: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_list_salesrep: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_list_salestaxcode: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_list_shipmethod: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_list_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_list_term: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_log: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_map_paymentmethod: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_map_promo_code: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_map_shipping_product: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_map_tax: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_map_wq_cf: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_product_pairs: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_variation_pairs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_mw_wc_qbo_desk_qbd_vendors: Data: 0.23MB + Index: 0.00MB + Engine InnoDB
npw_options: Data: 3.36MB + Index: 1.56MB + Engine InnoDB
npw_oses_attachments: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_oses_clicks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_oses_email_attachments: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_oses_emails: Data: 22.52MB + Index: 0.11MB + Engine InnoDB
npw_oses_failures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_oses_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_pmxe_exports: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
npw_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB
npw_pmxe_posts: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
npw_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_pmxi_geocoding: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
npw_pmxi_hash: Data: 4.52MB + Index: 0.00MB + Engine InnoDB
npw_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_pmxi_images: Data: 0.14MB + Index: 0.00MB + Engine InnoDB
npw_pmxi_imports: Data: 0.11MB + Index: 0.00MB + Engine InnoDB
npw_pmxi_posts: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
npw_pmxi_templates: Data: 0.14MB + Index: 0.00MB + Engine InnoDB
npw_postmark_log: Data: 3.52MB + Index: 0.00MB + Engine InnoDB
npw_postmeta: Data: 5.52MB + Index: 3.03MB + Engine InnoDB
npw_posts: Data: 1.52MB + Index: 0.52MB + Engine InnoDB
npw_redirection_404: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
npw_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
npw_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
npw_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
npw_relevanssi: Data: 2.52MB + Index: 4.55MB + Engine InnoDB
npw_relevanssi_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
npw_relevanssi_stopwords: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_taxjar_record_queue: Data: 0.28MB + Index: 0.16MB + Engine InnoDB
npw_term_relationships: Data: 0.11MB + Index: 0.08MB + Engine InnoDB
npw_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
npw_termmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
npw_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
npw_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
npw_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_trustindex_google_reviews: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_usermeta: Data: 1.52MB + Index: 3.03MB + Engine InnoDB
npw_users: Data: 0.19MB + Index: 0.22MB + Engine InnoDB
npw_wanc_notice: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
npw_wc_admin_note_actions: Data: 0.09MB + Index: 0.02MB + Engine InnoDB
npw_wc_admin_notes: Data: 0.11MB + Index: 0.00MB + Engine InnoDB
npw_wc_avatax_tax_codes: Data: 0.36MB + Index: 0.00MB + Engine InnoDB
npw_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_wc_customer_lookup: Data: 0.13MB + Index: 0.11MB + Engine InnoDB
npw_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
npw_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
npw_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
npw_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
npw_wc_order_product_lookup: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
npw_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
npw_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
npw_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
npw_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
npw_wc_product_attributes_lookup: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
npw_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_wc_product_meta_lookup: Data: 0.06MB + Index: 0.11MB + Engine InnoDB
npw_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_wc_reserved_stock: Data: 0.48MB + Index: 0.00MB + Engine InnoDB
npw_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_wfFileMods: Data: 7.52MB + Index: 0.00MB + Engine InnoDB
npw_wfauditevents: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
npw_wfconfig: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
npw_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_wffilemods: Data: 7.52MB + Index: 0.00MB + Engine InnoDB
npw_wfhits: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
npw_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
npw_wfknownfilelist: Data: 5.52MB + Index: 0.00MB + Engine InnoDB
npw_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_wflogins: Data: 0.13MB + Index: 0.03MB + Engine InnoDB
npw_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY
npw_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
npw_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_wfsecurityevents: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
npw_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
npw_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB
npw_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_wfwaffailures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_wpc_accesslocks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_wpc_login_fails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_wpgb_cache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
npw_wpgb_cards: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
npw_wpgb_facets: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
npw_wpgb_grids: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
npw_wpgb_index: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
npw_wpo_404_detector: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
npw_yoast_indexable: Data: 0.36MB + Index: 0.16MB + Engine InnoDB
npw_yoast_indexable_hierarchy: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
npw_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
npw_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
npw_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB Post Type Countsacf-field: 3
acf-field-group: 2
acf-ui-options-page: 1
attachment: 1073
b2bking_custom_field: 10
b2bking_custom_role: 3
b2bking_group: 2
b2bking_list: 1
breakdance_block: 2
breakdance_footer: 1
breakdance_header: 2
breakdance_template: 13
custom_css: 2
nav_menu_item: 43
page: 18
product: 330
revision: 63
shop_coupon: 22
shop_order: 5
shop_order_placehold: 368
shop_order_refund: 206
wp_navigation: 1
wp_template: 2
yaymail_template: 12 SecuritySecure connection (HTTPS): ✔
Hide errors from visitors: ✔ Active Plugins (26)Admin Columns Pro: by AdminColumns.com – 6.4.18
Advanced Custom Fields PRO: by WP Engine – 6.4.3
B2BKing Core: by WebWizards – 4.9.10
B2BKing Pro: by WebWizards – 5.3.40
Breakdance: by Breakdance – 2.3.1
Classic Editor: by WordPress Contributors – 1.6.7
KAI Features: by Rick Gregory – 1.0.0
Gravity Forms: by Gravity Forms – 2.9.15
ActiveCampaign Postmark (Official): by Andrew Yates & Matt Gibbs – 1.19.1
SpinupWP: by SpinupWP – 1.8.0
Webgility: by Webgility – 411
WooCommerce.com Update Manager: by Automattic – 1.0.3
Braintree for WooCommerce Payment Gateway: by WooCommerce – 3.2.9
PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 4.6.2
WooCommerce: by Automattic – 10.0.4
Yoast SEO: by Team Yoast – 25.6
ManageWP – Worker: by GoDaddy – 4.9.24
WP All Export Pro: by Soflyy – 1.9.10
WP All Import Pro: by Soflyy – 4.11.3
WP Migrate: by WP Engine – 2.7.3
WP Sitemap Page: by Tony Archambeau – 1.9.5
WP All Export – User Export Add-On Pro: by Soflyy – 1.0.10
WP All Export – WooCommerce Export Add-On Pro: by Soflyy – 1.0.10
WP All Import – WooCommerce Import Add-On Pro: by Soflyy – 4.0.5
Sequential Order Numbers for WooCommerce: by WebToffee – 1.7.2
YayMail – WooCommerce Email Customizer: by YayCommerce – 4.1.1 Inactive Plugins (1)Limit Login Attempts Reloaded: by Limit Login Attempts Reloaded – 2.26.20 Dropin Plugins ()
object-cache.php: SpinupWP Redis Object Cache Drop-In Must Use Plugins (3)
ManageWP – Worker Loader: by GoDaddy – 1.0.0
SpinupWP Debug Log Path: by SpinupWP – 1.0
WP Migrate Compatibility: by Delicious Brains – 1.3 SettingsLegacy API Enabled: –
Force SSL: ✔
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)Connected to WooCommerce.com: ✔
Enforce Approved Product Download Directories: ✔
HPOS feature enabled: –
Order datastore: WC_Order_Data_Store_CPT
HPOS data sync enabled: –
Enabled Features: analytics
marketplace
order_attribution
site_visibility_badge
remote_logging
blueprint
point_of_sale LoggingEnabled: ✔
Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
Retention period: 30 days
Level threshold: Error
Log directory size: 372 KB WC PagesShop base: #16 – /shop/
Cart: ❌ Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block.
Checkout: #735 – /checkout/ – Contains the woocommerce_checkout shortcode
My account: ❌ Page does not contain the [woocommerce_my_account] shortcode.
Terms and conditions: ❌ Page not set ThemeName: Breakdance Zero Theme
Version: 1.0.0
Author URL: https://breakdance.com/
Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
Theme type: Classic theme
WooCommerce Support: ✔ TemplatesOverrides: /sites/kaiscissors.biz/files/wp-content/plugins/breakdance/subplugins/breakdance-woocommerce/templates/cart/cart-totals.php
/sites/kaiscissors.biz/files/wp-content/plugins/breakdance/subplugins/breakdance-woocommerce/templates/cart/mini-cart.php version 7.9.0 is out of date. The core version is 10.0.0
/sites/kaiscissors.biz/files/wp-content/plugins/breakdance/subplugins/breakdance-woocommerce/templates/checkout/form-billing.php
/sites/kaiscissors.biz/files/wp-content/plugins/breakdance/subplugins/breakdance-woocommerce/templates/checkout/form-checkout.php version 3.5.0 is out of date. The core version is 9.4.0
/sites/kaiscissors.biz/files/wp-content/plugins/breakdance/subplugins/breakdance-woocommerce/templates/checkout/form-login.php version 3.8.0 is out of date. The core version is 10.0.0
/sites/kaiscissors.biz/files/wp-content/plugins/breakdance/subplugins/breakdance-woocommerce/templates/checkout/form-shipping.php
/sites/kaiscissors.biz/files/wp-content/plugins/breakdance/subplugins/breakdance-woocommerce/templates/checkout/payment.php version 8.1.0 is out of date. The core version is 9.8.0
/sites/kaiscissors.biz/files/wp-content/plugins/breakdance/subplugins/breakdance-woocommerce/templates/content-product.php version 3.6.0 is out of date. The core version is 9.4.0
/sites/kaiscissors.biz/files/wp-content/plugins/breakdance/subplugins/breakdance-woocommerce/templates/global/form-login.php version 7.1.0 is out of date. The core version is 9.2.0
/sites/kaiscissors.biz/files/wp-content/plugins/breakdance/subplugins/breakdance-woocommerce/templates/global/quantity-input.php version 7.8.0 is out of date. The core version is 9.4.0
/sites/kaiscissors.biz/files/wp-content/plugins/breakdance/subplugins/breakdance-woocommerce/templates/loop/loop-start.php
/sites/kaiscissors.biz/files/wp-content/plugins/breakdance/subplugins/breakdance-woocommerce/templates/loop/rating.php
breakdance-zero-theme-master/woocommerce/myaccount/dashboard.php
breakdance-zero-theme-master/woocommerce/myaccount/downloads.php
breakdance-zero-theme-master/woocommerce/myaccount/form-add-payment-method.php
breakdance-zero-theme-master/woocommerce/myaccount/form-edit-account.php
breakdance-zero-theme-master/woocommerce/myaccount/form-edit-address.php
breakdance-zero-theme-master/woocommerce/myaccount/form-login.php version 9.7.0 is out of date. The core version is 9.9.0
breakdance-zero-theme-master/woocommerce/myaccount/form-lost-password.php
breakdance-zero-theme-master/woocommerce/myaccount/form-reset-password.php
breakdance-zero-theme-master/woocommerce/myaccount/lost-password-confirmation.php
breakdance-zero-theme-master/woocommerce/myaccount/my-account.php
breakdance-zero-theme-master/woocommerce/myaccount/my-address.php
breakdance-zero-theme-master/woocommerce/myaccount/my-downloads.php
breakdance-zero-theme-master/woocommerce/myaccount/my-orders.php
breakdance-zero-theme-master/woocommerce/myaccount/navigation.php
breakdance-zero-theme-master/woocommerce/myaccount/orders.php
breakdance-zero-theme-master/woocommerce/myaccount/payment-methods.php
breakdance-zero-theme-master/woocommerce/myaccount/view-order.phpOutdated Templates: ❌
Learn how to update | Clear system status theme info cacheAdmin
Enabled Features: activity-panels
analytics
product-block-editor
coupons
core-profiler
customize-store
customer-effort-score-tracks
import-products-task
experimental-fashion-sample-products
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
mobile-app-banner
onboarding
onboarding-tasks
pattern-toolkit-full-composability
product-custom-fields
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
printful
shipping-label-banner
subscriptions
store-alerts
transient-notices
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-page
launch-your-store
add-to-cart-with-options-stepper-layoutDisabled Features: product-data-views
experimental-blocks
experimental-iapi-mini-cart
experimental-iapi-runtime
coming-soon-newsletter-template
minified-js
product-pre-publish-modal
settings
async-product-editor-category-field
product-editor-template-system
use-wp-horizonDaily Cron: ✔ Next scheduled: 2025-08-11 22:16:45 -07:00
Options: ✔
Notes: 192
Onboarding: skipped Braintree (Credit Card)Environment: Sandbox
Tokenization Enabled: –
Debug Mode: Off Braintree (PayPal)Environment: Production
Tokenization Enabled: –
Debug Mode: Off Action SchedulerComplete: 159
Oldest: 2025-07-11 13:26:06 -0700
Newest: 2025-08-11 03:16:07 -0700Failed: 5
Oldest: 2025-03-10 13:52:46 -0700
Newest: 2025-08-11 13:06:06 -0700Pending: 3
Oldest: 2025-08-11 14:41:06 -0700
Newest: 2025-09-10 13:06:06 -0700 Status report informationGenerated at: 2025-08-11 13:09:37 -07:00
`-
This reply was modified 9 months, 2 weeks ago by
rickg.
When importing orders programmatically, the
woocommerce_new_orderhook may not always fire as expected. This can prevent sequential order numbers from being assigned automatically.You can call the sequential order number function directly in your import code.
Option 1- Call the function directly:
// Force sequential order number assignment if ( class_exists( 'Wt_Advanced_Order_Number' ) ) { $temp_instance = new Wt_Advanced_Order_Number(); $temp_instance->set_sequential_number( $post_id ); }Option 2- Use the hook that works for manual updates:
$order = new WC_Order( $post_id ); $order->calculate_totals(); $order->save(); // Trigger the sequential order number assignment do_action( 'woocommerce_process_shop_order_meta', $post_id, $order ); -
This reply was modified 9 months, 2 weeks ago by
The topic ‘Dev hooks?’ is closed to new replies.