Viewing 1 replies (of 1 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    you can add the code below to your theme functions.php file it will remove the Account field from theform

    add_filter( "adverts_form_load", "customize_adverts_add_2808" );
    
    function customize_adverts_add_2808( $form ) {
      if( $form['name'] != "advert" ) {
        return $form;
      }
    
      foreach( $form["field"] as $key => $field ) {
        if( $field["name"] == "_adverts_account" ) {
            unset( $form["field"][$key] );
        }
      }
      return $form;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘How to cancel registration requirement for ad placement’ is closed to new replies.