wp-queue
wp-queue copied to clipboard
How to prevent conflicts with another plugin?
Specifically when installed via composer, should we (as plugin authors):
-
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 );
@TangRufus Seems like those are fixed.
Only partially if you are using imposter plugin https://github.com/deliciousbrains/wp-queue/issues/15.