• Hi, watend to delete store name from the registration page
    i added
    add_filter( ‘wcfm_is_allow_store_name’, ‘__return_false’ );
    and it works well, but this even deletes inside store settings, i dint wanted to delete – from vendor> setting… needed it to be deleted only from registration Page

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WC Lovers

    (@wclovers)

    Use this snippet –

    add_filter( ‘wcfm_is_allow_store_name’, function( $is_allow ) {
    if( is_wcfm_registration_page() ) {
    $is_allow  = false;
    }
    return $is_allow ;
    );
    Thread Starter kmzak

    (@kmzak)

    Nope the store name is still asked in vendor registration

    i used inside functions php & also removed cache

    add_filter( ‘wcfm_is_allow_store_name’, function( $is_allow ) {
    if( is_wcfm_registration_page() ) {
    $is_allow  = false;
    }
    return $is_allow ;
    }
    );

    https://astonly1.yaserarafath.in/vendor-membership/

    • This reply was modified 3 years, 5 months ago by kmzak.
    • This reply was modified 3 years, 5 months ago by kmzak.
    • This reply was modified 3 years, 5 months ago by kmzak.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove Store Name Only at the time of registration’ is closed to new replies.