Support

Account

Home Forums General Issues How do you set default values on a set of posts in bulk? Reply To: How do you set default values on a set of posts in bulk?

  • You say the default values are produced as a string.. I believe they’re like this: default1, default2, default3 etc.
    If you need this as an array why not simply use php explode?

    
    $myarray = explode(', ', $default_values);
    

    If the string does not contain a space just remove that from the first parameter of the explode 🙂