• myplugin_activate() should be a unique name.

    Fatal error: Cannot redeclare myplugin_activate() (previously declared in /home/httpd/vhosts/frugalwebguy.com/httpdocs/wp-content/plugins/global-admin-bar-hide-or-remove/hide-admin-tool-bar.php:192) in /home/httpd/vhosts/frugalwebguy.com/httpdocs/wp-content/plugins/simple-support-ticket-system/simple-support-ticket-system.php on line 40

    I would use a prefix for functions, such as ssts_, which would allow the plugin to install, while reducing issues installing.

The topic ‘Unique Function Names’ is closed to new replies.