Skip to:
Content
Pages
Categories
Search
Top
Bottom

xprofile_updated_profile hook and group of fields


  • honoluluman
    Participant

    @honoluluman

    Hello,

    I am using the xprofile_updated_profile hook to pass an action but i would like to know if it is possible to pass the action only when fields from one field group are getting updated.

    Somethink like:

    add_action( 'xprofile_updated_profile', 'my_action' ); 
    function my_action {
    if ( group of fields with id || group of fields with id ) {
    //do action
    } 

    I dont want to trigger my action when any of all fields is getting updated.

    Thank you for your help.

  • You must be logged in to reply to this topic.
Skip to toolbar