// add_filter( 'woocommerce_product_related_products_heading', function () { // return 'You may also like'; // });
Read morebutton for download <a href= "?export=csv" >Download CSV</a> for wp list table function extra_tablenav ( $which ) { …
Read more$file_url = 'https://rkb-odisha.in/sites/default/files/2019-11/Ajay-Rice-Paddy-Variety-Odisha-Odia.pdf' ; // Download the file to a temporary loc…
Read more$file_url = 'https://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg' ; $tmp_file = download_url ( $file_url ); echo '<pre>'…
Read moretable { border-collapse : collapse !important ; } td , th { border : 1px solid red !important ; }
Read more// create logs function create_wp_email_logs ( $args ) { if ( empty ( $args )) { return ; } // Define the path to the log file …
Read morestep 1 : define a new variable inside wp-config.php define("WP_CONTENT_URL", "https://content.developernoob.com"); Step 2: add "…
Read moreiframe scroll to div after i frame load using jquery jQuery ( window ). on ( 'load' , function () { console . log ( "Kahnu iframes loade…
Read moreWordpress update failed - This is usually due to inconsistent file permissions.: wp-admin/includes/update-core.php sudo chown -R www-data:www-data /var/ww…
Read morePOP Setting for hostinger setting for gMail https://support.titan.email/hc/en-us/articles/900000215626-Configure-Titan-Mail-on-Gmail SMTP https://support.…
Read more// Set the new user information $new_user_data = array ( 'user_login' => 'kanhu123' , 'user_email' => '…
Read more<?php add_action ( 'wpcf7_before_send_mail' , 'action__wpcf7_before_send_mail' , 20 , 3 ); function …
Read moreUbuntu URL NOT found issue in php folder 1 - Use terminal to open this file ``` sudo gedit /etc/apache2/apache2.conf ``` 2 - Find the below line in that …
Read moreHow to add some value or replace a new value when contact form 7 is render. < label > Your name [text* your-name] </ label > [hidden sch…
Read morefunction insert_multiple_rows ( $table , $request ) { global $wpdb ; $column_keys = '' ; $column_values = '' ; $sq…
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 morefunction kanha_change_logout_url_by_user_roles () { $current_user = wp_get_current_user (); $role_name = $current_user -> roles [ 0…
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