File Editor
Directories:
.. (Back)
carousel
cloudflare-analytics
comment-likes
comments
custom-post-types
geo-location
google-fonts
gravatar
infinite-scroll
likes
markdown
memberships
photon-cdn
plugin-search
post-by-email
related-posts
scan
seo-tools
sharedaddy
shortcodes
simple-payments
site-icon
sitemaps
stats
subscriptions
theme-tools
tiled-gallery
verification-tools
videopress
widget-visibility
widgets
woocommerce-analytics
wordads
wpcom-tos
Files:
blaze.php
blocks.php
carousel.php
comment-likes.php
comments.php
contact-form.php
copy-post.php
custom-content-types.php
geo-location.php
google-fonts.php
gravatar-hovercards.php
infinite-scroll.php
json-api.php
latex.php
likes.php
markdown.php
masterbar.php
module-extras.php
module-headings.php
module-info.php
monitor.php
notes.php
photon-cdn.php
photon.php
plugin-search.php
post-by-email.php
post-list.php
protect.php
publicize.php
related-posts.php
search.php
seo-tools.php
sharedaddy.php
shortcodes.php
shortlinks.php
sitemaps.php
sso.php
stats.php
subscriptions.php
theme-tools.php
tiled-gallery.php
vaultpress.php
verification-tools.php
videopress.php
waf.php
widget-visibility.php
widgets.php
woocommerce-analytics.php
wordads.php
wpgroho.js
Create New File
Create
Edit File: blocks.php
<?php /** * Module Name: Blocks * Module Description: Add additional blocks to your site and post editors. * Sort Order: 5 * First Introduced: 13.9-a.8 * Requires Connection: No * Auto Activate: Yes * Module Tags: blocks * Feature: Writing * * @package automattic/jetpack */ add_action( 'jetpack_activate_module_blocks', 'jetpack_blocks_activate_module' ); /** * Actions needed upon activating the blocks module. * * There is a legacy option to disable Jetpack blocks that we'll delete when this module is activated. * Via jetpack_get_default_modules filter, we remove blocks from the default if the option is true. * We'll leave that in place so _until the module is activated_ we will be sure to respect the previous * setting. * * @since 13.9 * @return void */ function jetpack_blocks_activate_module() { delete_option( 'jetpack_blocks_disabled' ); // The function will check and return early if not present. }
Save Changes
Rename File
Rename