|
@@ -22,7 +22,7 @@ function lps24_browsersync_save() {
|
|
'blocking' => false,
|
|
'blocking' => false,
|
|
'sslverify' => 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_page', 'lps24_browsersync_save', 10, 3);
|
|
add_action('rest_after_insert_post', '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_filter( 'show_admin_bar', '__return_false' );
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
add_action( 'admin_bar_menu', 'lps24_remove_adminbar', 999 );
|
|
add_action( 'admin_bar_menu', 'lps24_remove_adminbar', 999 );
|
|
function lps24_remove_adminbar( $wp_admin_bar ) {
|
|
function lps24_remove_adminbar( $wp_admin_bar ) {
|
|
$wp_admin_bar->remove_node('wp-logo');
|
|
$wp_admin_bar->remove_node('wp-logo');
|