Appropriate for a plugin to change the output of another plugin?
-
Hi all,
I’m the developer of a plugin that adds a subscription service to WP sites so, for example, you can set up a paywall for specific posts/pages.
I’m trying to figure out the best way to handle schema on paywalled pages. Google says to set “isAccessibleForFree” to “False”.
Some seo/schema plugins add “isAccessibleForFree”:”True”? to the schema by default and don’t have an option to make that “false”, others include the option, but I’d like to set things up so that my plugin automatically adds “false” to all pages that are paywalled.
I’m trying to brainstorm out the best way to handle this.
I’m wondering if it would be appropriate to have a setting that publishers can select to search/replace “isAccessibleForFree”:”True” to “isAccessibleForFree”:”False” in the schema that is outputted by other plugins on all paywalled pages, if that is even possible.
Do you have another thoughts on how that might be done?
Chris
- The topic ‘Appropriate for a plugin to change the output of another plugin?’ is closed to new replies.