Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Customize OrganizeWP Post Type registration arguments
<?php
// Customize the registration args for the 'book' post type.
add_filter( 'organizewp_post_type_args_book', function( $args ) {
// $args contains all of the post type registration arguments.
// TODO: modify $args to meet your needs.
return $args;
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment