This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command
$ docker-compose up -d
# To Tear Down
$ docker-compose down --volumes
| <?php | |
| /** | |
| * Enable unfiltered_html capability for Editors. | |
| * | |
| * @param array $caps The user's capabilities. | |
| * @param string $cap Capability name. | |
| * @param int $user_id The user ID. | |
| * @return array $caps The user's capabilities, with 'unfiltered_html' potentially added. | |
| */ |