Developers

I can haz?

Is Git present?

Yes, SVN is also present (don't ask..)

Can I use SSH?

Yes

Is WP-cli present?

Yes, command is wp as well as wp-cli

Are exec(), system() and other system calls available?

No

My theme needs AJAX calls, but does not need all the plugins to be loaded

Read how to disable loading the plugins on an AJAX event: https://github.com/managedwphosting/developers/blob/master/examples/ajax.php

Is WP_ENVIRONMENT_TYPE available?

Yes, WP_ENVIRONMENT_TYPE is available on our staging servers, set to 'staging'.

Is XMLRPC enabled?

No, it is disabled by default. See the .htaccess file _twice_ for the instructions to enable.

Rest/wp-json firewalling

Getting a 403 response ? Sent us: your _full_ : useragent, IP adress, domain, path. Before you do, check your home directory for managedwp_[date].txt logs

I want to hide your notices

Read how to filter the $is_dismissed boolean here: https://github.com/managedwphosting/developers/blob/master/examples/notices.php

I want to overwrite WP Core (wp-admin, wp-includes, twenty-x themes and so on), may I?

No you may not. We run, secure and update all WP Core files. Do not modify any WP Core file, it will be automatically overwritten.

Preview before going live

If your domain is domain.ext and hosted on server w001c2.wpserver.pro the preview url is domainext-w001c2.preview.wpmanaged.nl so the syntax is : ${domain}${ext-without-any-dots}-w{$serverid}c2.preview.wpmanaged.nl
Note that the WP domain setting has to be renamed by you, it is not set dynamically.
Also note that varnish caching is disabled on the preview url.

Disable email spam checks

We do automated word filters on outgoing mails via wp_mail. To disable, make sure that your plugin of theme de-registers these actions and filters:
add_action( 'woocommerce_checkout_process', 'mp_woocommerce_checkout_process' );
add_filter( 'gform_validation', 'mp_gform_validation' );
add_filter( 'pre_comment_approved', 'mp_pre_comment_approved', 10, 2 );
add_filter( 'wp_mail', 'mwp_wp_filter_mail' );
Or even whitelist your domain using define( 'MP_SPAM_EMAIL_DOMAIN_WHITELIST' , [ 'your.domain', ] );

How to opt out for auto plugin updates

Create a file named wpcli_ignore in your user homedir. Example: /home/myuser/wpcli_ignore

I need to see if you are blocking a request

Firstly check the full response headers. Next check the error log as we use error_log() on the webservers. In some places we use a wp_die(), preceded by an error_log()

Auto TLS for development

If your development server is vps052 and your domain is domain.ext -> domain-ext.dev.vps052c2.wpbouwlocatie.nl

No REST for the wicked