Update Product Title On Save/Update of Product

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM Update Product Title On Save/Update of Product

Viewing 4 reply threads
  • Author
    Posts
    • #23112
      dailygives
      Participant

      I’m looking at the products manage page, and I’d like to hook into the form submission and change the product title for all new or updated products (that are submitted from the products manage page form).

      For example, user enters a product title, fills in product details, then clicks publish. At this point I’d like to change the product title dynamically to something other than just the title field (either change it before it it saved, or change it after it is saved and force a resave). Are there any good hooks to accomplish this? I see the hook “after_wcfm_products_manage_meta_save”, but was wondering if there was a better place for this operation.

      Thank you!

    • #23113
      dailygives
      Participant

      Actually I just saw the filter “wcfm_product_content_before_save”! I think this might be what I need. If not please let me know, thank you!

    • #23117
      WCFM Forum
      Keymaster

      Hi,

      Well, you may use any of this Hook for the purpose.

      If still require any help in this please know me.

      Thank You

    • #23123
      dailygives
      Participant

      Is there any documentation showing what hooks/filters are already included within WCFM?

      Thanks

    • #23138
      WCFM Forum
      Keymaster

      Hi,

      I am really sorry, we don’t have any such documentation yet!

      But don’t worry, just ask me if you required any kind of assistance.

      Thank You

Viewing 4 reply threads
  • The topic ‘Update Product Title On Save/Update of Product’ is closed to new replies.