Step 2: Creating a local environment variable with Gatsby Our next step is to create a local environment and add a change that will let us see that it wor…
Read moreadd the code in wp-config.php: define ( 'FS_METHOD' , 'direct' );
Read more1. You may also need to modify apache2.conf file. sudo nano /etc/apache2/apache2.conf 2. Change your web directory override rule to AllowOve…
Read moreOpen a Terminal window and type: `sudo visudo` In the bottom of the file, need to add the following line: `$USER ALL=(ALL) NOPASSWD: ALL` Where $USER is…
Read morewarn Attempted import error: './header.module.scss' does not contain a default export (imported as 'headerStyles'). import headerStyle…
Read moresudo rm - rf / var / lib /pgadmin sudo / usr / pgadmin4 / bin / setup - web . sh
Read morealias python = python3
Read moreOpen a Terminal Check by below command xrandr -q | grep " connected" Check by the above command if the output looks like the below then go to…
Read more# Needed to the function "deactivate_plugins" works include_once (ABSPATH . 'wp-admin/includes/plugin.php' ); add_action ( 'plugin…
Read morefunction kanha_change_logout_url_by_user_roles () { $current_user = wp_get_current_user (); $role_name = $current_user -> roles [ 0…
Read moreadd_action ( 'wp_logout' , 'kanha_change_logout_url' ); function kanha_change_logout_url ( $redirect_url ) { wp_safe_redirect …
Read moreadd_action ( 'init' , 'kanha_redirect_login_page' ); function kanha_redirect_login_page ( $redirect_url ) { global $pagenow ; …
Read morenavigator . getBattery (). then (( battery ) => { console . log ( `Battery ${ battery . level * 100 } %` ); console . log ( `Charging status…
Read more$otp = rand ( 100000 , 999999 ); // $result = otpl_send_otp_test($email, $otp); // print_r($result); $otp_message = '<table width=&q…
Read moreadd_filter ( 'woocommerce_coupon_is_valid' , 'check_multi_coupon_code_by_kanha' , 10 , 3 ); function check_multi_coupon_code_by_kanha …
Read more