options = [ [ 'name' => "How To", 'desc' => "Control generic settings for the plugin", 'category' => 'deviantart-how-to', 'buttons' => 'no-buttons', 'type' => 'section', ], [ 'name' => "Creating a gallery", 'desc' => "Please complete the setup steps in the \"DeviantArt Settings\" tab before attempting to create a gallery!

To create a gallery with DeviantArt content you can use either a Gutenberg Block or the Add / Edit Photonic Gallery button in the Classic Editor:

Wizard", 'grouping' => 'deviantart-how-to', 'type' => 'blurb', ], [ 'name' => "DeviantArt settings", 'desc' => "Control settings for DeviantArt", 'category' => 'deviantart-settings', 'type' => 'section', ], [ 'name' => "DeviantArt Client ID", 'desc' => "To make use of the DeviantArt functionality you have to use your DeviantArt Client ID. You can request an id online if you don't have one. Note that you are responsible for following DeviantArt API's License Agreement. As a part of the Client ID setup process:
  1. For the option 'OAuth2 Grant Type', select 'Authorization Code'.
  2. Make sure that you add these as your Redirect URIs:
    1. " . esc_url(admin_url('admin.php?page=photonic-auth&source=deviantart')) . "
    Without the above your authentication will not work.
", 'id' => 'deviantart_client_id', 'grouping' => 'deviantart-settings', 'type' => 'text' ], [ 'name' => "DeviantArt Client Secret", 'desc' => "Please enter your DeviantArt API secret.", 'id' => 'deviantart_client_secret', 'grouping' => 'deviantart-settings', 'type' => 'text' ], [ 'name' => "DeviantArt Refresh Token", 'desc' => "Please enter your DeviantArt API secret.", 'id' => 'deviantart_refresh_token', 'grouping' => 'deviantart-settings', 'type' => 'text' ], ]; } }