Skip to content

How to prevent conflicts with another plugin? #2

@tangrufus

Description

@tangrufus

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 );

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions