Change the slug of the books
-
Hi,
First of all many thanks for this plugin! It was just the thing I need and couldn’t find.
I read the previous post on how to change the slug of default books to something else.
I read:
add_filter( ‘mbdb_book_cpt’, ‘mbdb_book_slug’);
function mbdb_book_slug( $args ) {
$args[‘rewrite’] = array( ‘slug’ => ‘libro’);
return $args;
}But where do I put this code?
Thanks!
Joris
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Change the slug of the books’ is closed to new replies.