Regex unload
-
How can I unload on all pages expect including strings.
wpml-string-translation is one of the slowest plugins there hammer with queries and slows down several o wp-admin pages. But realized I need it to let it run on some places to properly translate the slug for %cpt% in wp admin once clicking on view post.
Want to unload Plugin: wpml-string-translation on:
#^/admin/post.php# #^/admin/edit.php#But exclude and not unload if url contains
post.phpandedit&lang=esoredit&lang=bretcExample:
post.php?post=21197&action=edit&lang=esAnd exclude for posts view of specific cpts:
edit.phpandpost_type=cpt-pagesand&lang=esor&lang=bretcExample:
edit.php?post_type=cpt-pages&lang=es
The topic ‘Regex unload’ is closed to new replies.