• Hello,

    We need to set the value of the phone field in the [adverts_add], I’ve already read your documentation and I don’t find how to do it, I achieve to set the data as placeholder but as value doesn’t work.

    Could you help me with that, please?

    I’d really apreciate your aid

    have an excellent day

    The page I need help with: [log in to see the link]

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

    (@gwin)

    Hi,
    to do that you can use the adverts_form_bind filter like this

    
    add_filter( "adverts_form_bind", function( $form ) {
      $form->set_value( "adverts_phone", "1001001011" );
      return $form;
    } );
    
Viewing 1 replies (of 1 total)

The topic ‘Help about [adverts_add]’ is closed to new replies.