00 Day
00 Hour
00 Min
00 Sec

File states for France?

Home Forums General File states for France?

Tagged: 

Viewing 3 reply threads
  • Author
    Posts
    • #16182
      maxtrend
      Participant

      Hello,
      I saw that the stastes file for France is missing.
      Folder:
      erp/i18n/states

      in the insertion of the French contact do not leave the departments, the select is empty.
      is it possible to have it?
      Thanks
      Cesare

    • #16324
      maxtrend
      Participant

      can anyone help me?

    • #16414
      Shawon Chowdhury
      Moderator

      @maxtrend,
      You can use this filter to add additional states.

      add_filter( ‘erp_states’, function ( $states ) {

      $states[‘FR’] = [
      ‘A’ => ‘Anything’, // Add the states here.
      ‘B’ => ‘Bestthing’,
      ‘ZH’ => ‘Zuid-Holland’,
      ];

      return $states;
      } );

      Add this part to your theme’s function.php or use a child theme.

      Thanks 🙂

    • #16415
      maxtrend
      Participant

      Thanks Shawon!

Viewing 3 reply threads
  • The forum ‘General’ is closed to new topics and replies.

Contact Us

Reach out to us for any inquiry

You must enter full name
You must enter email
You must enter message

We received your query

We will reply to you very soon :)