Created
August 10, 2020 06:07
-
-
Save wpexplorer/bd297482c4f90eb40996a6df62a4ab3c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'wpex_cpt_entry_supported_media', function( $media_types ) { | |
$media_types[] = 'gallery'; | |
return $media_types; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment