Description
This filter allows you to modify the arguments that are used to register the wpsl_stores post type.
Parameters
$args - (array) The default post type arguments.
Usage
This example enables the post type archives:
If you’re using WP 5.x and like to disable the Gutenberg editor, then you can do this by adding the code below to the functions.php inside your active theme folder.
If instead of /stores/store-name the permalinks look for example like this /blog/stores/store-name, then you can prevent that by using the code below. The ‘blog’ can be a different value on your site, but it will come from the permalink settings screen.
Changelog
Since 2.0
Source File
This filter is located in /inc/class-post-types.php.
Placement
The code needs to be placed in the functions.php file inside your active theme folder.