Last active
March 16, 2018 13:16
-
-
Save Tusko/c686feda9d4ea96416b6 to your computer and use it in GitHub Desktop.
This file contains 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
/* | |
/wp-content/plugins/quick-featured-images/admin/class-quick-featured-images-tools.php after line 609 | |
*/ | |
$fimg_post_types = get_post_types( array( | |
'_builtin' => false | |
) ); //get post types | |
foreach ( $fimg_post_types as $fi_cpt ) { | |
if( post_type_exists( $fi_cpt ) ) { | |
$this->valid_post_types[$fi_cpt] = $fi_cpt; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment