Created
August 15, 2014 16:41
-
-
Save engelen/a8e1df97e547104f378d 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
<?php | |
add_filter( 'cac/storage_models', 'myplugin_cpac_storage_models' ); | |
function myplugin_cpac_storage_models( $storage_models ) { | |
if ( isset( $storage_models['mycpt'] ) ) { | |
unset( $storage_models['mycpt'] ); | |
} | |
return $storage_models; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment