Skip to content

Instantly share code, notes, and snippets.

@engelen
Created August 15, 2014 16:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save engelen/a8e1df97e547104f378d to your computer and use it in GitHub Desktop.
Save engelen/a8e1df97e547104f378d to your computer and use it in GitHub Desktop.
<?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