Created
December 8, 2017 14:06
-
-
Save dshanske/2c0963337564024778893967bcd31afa to your computer and use it in GitHub Desktop.
Simple Plugin to Change Post Formats
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
/** | |
* Post Kinds Custom Post Format Change | |
* Plugin Name: Post Kinds Custom Post Format | |
* Plugin URI: | |
* Description: Change Post Kind to Post Format Mapping | |
* Version: 0.0.1 | |
* Author: David Shanske | |
* Author URI: https://david.shanske.com | |
*/ | |
function pk_change_read_format( $kinds ) { | |
$kinds[ 'read' ][ 'format' ] = ''; | |
return $kinds; | |
} | |
apply_filters( 'kind_info', 'pk_change_read_format', 10 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment