Skip to content

Plugin Deactivation: Disable autoload for resend options #10

Description

@bhubbard

To help keep WordPress performance, its a good idea to disable autoload for options on plugin deactivation, and re-enable autoload on activation. This way you keep the data, but helps site performance when plugin is disabled. I realize at the moment its only one option right now resend_api_key, but better to have this best practice added early.

Further Reading:
https://felix-arntz.me/blog/autoloading-wordpress-options-efficiently-and-responsibly/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions