Skip to content

Instantly share code, notes, and snippets.

Renato Alves renatonascalves

Block or report user

Report or block renatonascalves

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@renatonascalves
renatonascalves / test.php
Created May 24, 2019 — forked from spacedmonkey/test.php
Add gutenberg blocks to WordPress API as json.
View test.php
<?php
add_action( 'rest_api_init', function () {
$types = get_post_types(
[
'show_in_rest' => true,
],
'names'
);
View wp_mail.md

WordPress Emails

This document lists all the situations where WordPress sends an email, along with how to filter or disable each email.

This is accurate as of WordPress 4.9.

There are a few TODOs left. Please bear with me.

You can’t perform that action at this time.