Skip to content

Commit

Permalink
Add specific media for portfolio and gallery CPT also
Browse files Browse the repository at this point in the history
  • Loading branch information
vladolaru committed May 30, 2022
1 parent 326ed03 commit c19749e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions starter_content_exporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
* Plugin Name: Starter Content Exporter
* Plugin URI: https://pixelgrade.com/
* Description: A plugin which exposes exportable data through the REST API.
* Version: 1.5.3
* Version: 1.5.4
* Author: Pixelgrade, Vlad Olaru
* Author URI: https://pixelgrade.com/
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: socket
* Domain Path: /languages
* Requires at least: 5.5.0
* Tested up to: 5.9.4
* Tested up to: 6.0.0
* Requires PHP: 7.4
*/

Expand Down Expand Up @@ -251,6 +251,8 @@ public function add_socket_config( array $config ): array {
// Only add post type specific media items to post types that truly need it.
$post_types_with_specific_media = [
'product',
'portfolio',
'gallery',
];

/**
Expand Down

0 comments on commit c19749e

Please sign in to comment.