Skip to content

Commit

Permalink
Merge pull request #1026 from Automattic/add/1008-core_blocks_amp_spe…
Browse files Browse the repository at this point in the history
…cific_features

[Gutenberg] Extend core blocks to add AMP-specific functionality.
  • Loading branch information
westonruter authored May 21, 2018
2 parents 6006afe + f05bfb7 commit a68c93f
Show file tree
Hide file tree
Showing 19 changed files with 987 additions and 8 deletions.
1 change: 1 addition & 0 deletions amp.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ function amp_init() {
AMP_Post_Type_Support::add_post_type_support();
add_filter( 'request', 'amp_force_query_var_value' );
add_action( 'admin_init', 'AMP_Options_Manager::register_settings' );
add_action( 'wp_loaded', 'amp_editor_core_blocks' );
add_action( 'wp_loaded', 'amp_post_meta_box' );
add_action( 'wp_loaded', 'amp_add_options_menu' );
add_action( 'parse_query', 'amp_correct_query_when_is_front_page' );
Expand Down
Loading

0 comments on commit a68c93f

Please sign in to comment.