Exclude URLs
-
Hi,
A plugin I use has a REST API which isn’t under
/wp-json/
so I need to exclude its URL from redirecting.Currently I’m editing the plugin but it’s getting overwritten with updates.
} elseif (stristr($_SERVER['REQUEST_URI'], 'pnfw/register') ) { $wpjf3_matches[] = "<!-- WPJF_MR: pnfw/register -->";
Could you either add a filter, changing line 153 to:
$wpjf3_matches = apply_filters( 'wpjf3_matches', array() );
which would allow me to
add_filter
in myfunctions.php
,or maybe add an option in the settings where I could specify a regex to match.
Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Exclude URLs’ is closed to new replies.