PATH:
home
/
carfac
/
.trash
/
jetpack
/
modules
<?php /** * Module Name: Blocks * Module Description: Expand your editor with custom Jetpack blocks for rich content and layout options. * Sort Order: 5 * First Introduced: 13.9-a.8 * Requires Connection: No * Auto Activate: Yes * Module Tags: blocks * Feature: Writing * * @package automattic/jetpack */ if ( ! defined( 'ABSPATH' ) ) { exit( 0 ); } 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. } Jetpack_Gutenberg::load_block_editor_extensions(); Jetpack_Gutenberg::load_independent_blocks(); Jetpack_Gutenberg::register_block_metadata_collection(); /** * We've switched from enqueue_block_editor_assets to enqueue_block_assets in WP-Admin because the assets with the former are loaded on the main site-editor.php. * * With the latter, the assets are now loaded in the SE iframe; the implementation is now faster because Gutenberg doesn't need to inject the assets in the iframe on client-side. */ if ( is_admin() ) { add_action( 'enqueue_block_assets', array( 'Jetpack_Gutenberg', 'enqueue_block_editor_assets' ) ); } else { add_action( 'enqueue_block_editor_assets', array( 'Jetpack_Gutenberg', 'enqueue_block_editor_assets' ) ); } add_filter( 'render_block', array( 'Jetpack_Gutenberg', 'display_deprecated_block_message' ), 10, 2 );
[-] likes.php
[edit]
[-] copy-post.php
[edit]
[-] seo-tools.php
[edit]
[-] module-extras.php
[edit]
[-] account-protection.php
[edit]
[-] blocks.php
[edit]
[-] subscriptions.php
[edit]
[+]
infinite-scroll
[-] simple-payments.php
[edit]
[-] tiled-gallery.php
[edit]
[+]
comments
[-] gravatar-hovercards.php
[edit]
[-] waf.php
[edit]
[-] verification-tools.php
[edit]
[-] related-posts.php
[edit]
[+]
scan
[-] theme-tools.php
[edit]
[+]
videopress
[+]
external-media
[+]
likes
[-] videopress.php
[edit]
[+]
theme-tools
[-] sitemaps.php
[edit]
[+]
gravatar
[-] monitor.php
[edit]
[+]
memberships
[-] latex.php
[edit]
[-] json-api.php
[edit]
[+]
photon-cdn
[-] protect.php
[edit]
[-] shortlinks.php
[edit]
[-] google-fonts.php
[edit]
[-] plugin-search.php
[edit]
[-] wordads.php
[edit]
[-] contact-form.php
[edit]
[-] photon.php
[edit]
[-] stats.php
[edit]
[-] module-headings.php
[edit]
[-] sharedaddy.php
[edit]
[-] notes.php
[edit]
[-] comments.php
[edit]
[+]
sharedaddy
[+]
subscriptions
[+]
simple-payments
[-] comment-likes.php
[edit]
[-] carousel.php
[edit]
[+]
seo-tools
[+]
shortcodes
[+]
widgets
[+]
wordads
[+]
woocommerce-analytics
[+]
plugin-search
[+]
related-posts
[+]
google-fonts
[+]
markdown
[-] woocommerce-analytics.php
[edit]
[-] wpgroho.js
[edit]
[+]
wpcom-tos
[+]
carousel
[-] photon-cdn.php
[edit]
[-] vaultpress.php
[edit]
[+]
comment-likes
[-] sso.php
[edit]
[-] publicize.php
[edit]
[-] widget-visibility.php
[edit]
[-] infinite-scroll.php
[edit]
[+]
verification-tools
[-] search.php
[edit]
[-] module-info.php
[edit]
[-] post-by-email.php
[edit]
[-] blaze.php
[edit]
[+]
widget-visibility
[+]
sitemaps
[+]
site-icon
[+]
custom-post-types
[+]
post-by-email
[-] custom-content-types.php
[edit]
[-] post-list.php
[edit]
[-] shortcodes.php
[edit]
[+]
tiled-gallery
[+]
..
[+]
stats
[-] widgets.php
[edit]
[-] markdown.php
[edit]