Cartflows_Permalink::add_cpt_post_names_to_main_query( string $query )
Have WordPress match postname to any of our public post types.
Description
All of our public post types can have /post-name/ as the slug, so they need to be unique across all posts. By default, WordPress only accounts for posts and pages where the slug is /post-name/.
Parameters
- $query
-
(string) (Required) query statement.
Source
File: modules/flow/classes/class-cartflows-permalink.php