windhamdavid 5 months ago
parent
commit
1ec91c369d
2 changed files with 2 additions and 3 deletions
  1. 1 3
      functions.php
  2. 1 0
      patterns/procedure-options.php

+ 1 - 3
functions.php

@@ -22,7 +22,7 @@ function lps24_browsersync_save() {
     'blocking' => false,
     'sslverify' => false
   ];
-  $request = wp_remote_get('https://gwp.ovid:333/__browser_sync__?method=reload', $args);
+  $request = wp_remote_get('https://lps.ovid:333/__browser_sync__?method=reload', $args);
 }
 add_action('rest_after_insert_page', 'lps24_browsersync_save', 10, 3);
 add_action('rest_after_insert_post', 'lps24_browsersync_save', 10, 3);
@@ -38,8 +38,6 @@ add_action('updated_option', 'lps24_browsersync_save', 10, 3);
 
 add_filter( 'show_admin_bar', '__return_false' );
 
-
-
 add_action( 'admin_bar_menu', 'lps24_remove_adminbar', 999 );
 function lps24_remove_adminbar( $wp_admin_bar ) {
 	$wp_admin_bar->remove_node('wp-logo');

+ 1 - 0
patterns/procedure-options.php

@@ -5,6 +5,7 @@
  * Categories: page
  * Block Types: core/post-content
  * Post Types: page, post, wp_template
+ * Inserter: no
  */
 ?>