woocommerce-paypal-payments/.ddev/commands/web/orchestrate.d/40_setup_and_activate.sh
2022-05-06 09:35:14 +03:00

10 lines
171 B
Bash

#!/bin/bash
pushd "${DDEV_DOCROOT}"
flags=""
if [ "${WP_MULTISITE}" = "true" ]; then
flags+=" --network"
fi
wp plugin activate "${PLUGIN_NAME:-$DDEV_PROJECT}" $flags