• Resolved Fredag


    How do I add category name to the notofication mail that is sent out after post submit? It is supposed to be like %category% but that’s not working. I am using custom taxonomies ( Divi themes Project with categories ).

    This is for the User Front End Pro. (I can´t make an ordinary ticket in the system by some strange reason).

    I have tried:
    Category: %category%
    project_category: %project_category%
    custom_category: %custom_category%
    custom_project_category: %custom_project_category%


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Mehedi Hasan


    Hello @fredag,

    %category% will work for the default category only, not the custom category.

    However, Please consider opening a support ticket from your weDevs account for the Pro version support.

    Thanks for your understanding 🙂


    Yes, but do you have a solution to the problem?
    (By some strange reason I cant open a support ticket…)

    Like: Add category to “hidden field” and make that part of the submit so I can access it like %custom_hidden_category% in the notification mail.

    This is my try but it fails because I cant get the category:

    function update_hidden_category( $post_id ) {
        $whatcategory = $_POST['project_category[]'];  // this is where it fails
        if ( isset( $whatcategory ) ) {
            update_post_meta( $post_id, 'hidden_category', $whatcategory ); 
    add_action( 'wpuf_add_post_after_insert', 'update_hidden_category' );
    add_action( 'wpuf_edit_post_after_update', 'update_hidden_category' );
    Plugin Support Mehedi Hasan


    Hello @fredag,

    I’m sorry but we are unable to provide support for the features that is not available with our lite(free) version here in this forum as per the forum policy. If you can not create a support ticket, please contact through this form.

    Looking forward to hearing from you 🙂

    Thanks for your understanding.

    Best Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add category in notification mail’ is closed to new replies.