Hook To Modify Customer Registration Form?

Bring Your Business to LifeSupportImage StoreHook To Modify Customer Registration Form?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #57149
    Xpark Media
    Keymaster

    @jcharris,

    you can add additional values using the ims_cutomer_data_row hook.

    if you want to complete rewrite the form use ims_include_{file_name}

    #59142
    jcharris
    Participant

    Thanks.

    Now…. I’m coming from Drupal where hooks are quite different. Can you -please- pretty please flesh out your example for “use ims_include_{file_name}”

    I’m clearly not getting how one passes the dir and filename parameters. The doc doesn’t seem to be a working example, is it?

    TIA,

    —JC

    #70223
    Xpark Media
    Keymaster

    No, is not a working example, try this. Change the path to the full path of your file.

    
    function ims_change_customer_edit_file( $file, $dir ) {
    return "full/path/to/new/file.php";
    }
    add_filter('ims_include_customer-edit', 'ims_change_customer_edit_file', 10, 2); 
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.