This filter allows you to modify the arguments that are used to register the wpsl_stores post type.
$args - (array) The default post type arguments.
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.
If you enable the post type archives, you will need to resave the permalinks. You can do this by going to Settings > Permalinks and click “Save Changes”.
This filter is located in /inc/class-post-types.php.