Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to prevent conflicts with another plugin? #2

Open
tangrufus opened this issue Jan 28, 2018 · 2 comments
Open

How to prevent conflicts with another plugin? #2

tangrufus opened this issue Jan 28, 2018 · 2 comments

Comments

@tangrufus
Copy link

Specifically when installed via composer, should we (as plugin authors):

  • change namespace (via imposter / mozart)?

  • change table names so other plugins won't try to drop my tables?

$this->jobs_table     = $this->database->prefix . 'queue_jobs' . '_my_plugin';
$this->failures_table = $this->database->prefix . 'queue_failures' . '_my_plugin';
  • change filter and hook names?
apply_filters( 'my_plugin_wp_queue_cron_time_limit', 20 );
apply_filters( 'my_plugin_wp_queue_connections', $connections );
apply_filters( 'my_plugin_wp_queue_cron_memory_exceeded', $return );
@szepeviktor
Copy link
Contributor

@tangrufus Seems like those are fixed.

@dingo-d
Copy link

dingo-d commented Mar 17, 2021

Only partially if you are using imposter plugin #15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants