Wordpress Manager Hooks

wordpress_install_post.sh

This script is called after wordpress is installated for domain or subdomain.

Environment variables

  • username: DA username
  • wp_hostname: name of the domain or subdomain installed. For example: sub.example.com
  • wp_directory: relative path to user home directory where Wordpress was installed

wordpress_remove_post.sh

This script is called after wordpress is uninstallated from domain or subdomain.

Environment variables

  • username: DA username
  • wp_hostname: name of the domain or subdomain removed. For example: sub.example.com
  • wp_directory: relative path to user home directory where Wordpress was installed
Last Updated: