-
Created a topic, Cannot override cart and checkout page, on the site WordPress.org Forums:
In the past, overriding the template parts are easy as… -
Posted a reply to Theme Updater, on the site WordPress.org Forums:
@greenshady Hi, I'm trying to use the hook pre_set_site_transient_update_themes to receive update ( for theme… -
Created a topic, Theme Updater, on the site WordPress.org Forums:
I have read this post, and researching relevant articl… -
Posted a reply to Bug with using getImageData, on the site WordPress.org Forums:
Update: Use offsetX and offsetY instead. -
Created a topic, Bug with using getImageData, on the site WordPress.org Forums:
I'm creating a color picker and use the getImageData t… -
Created a topic, Get cart total after page is laoded, on the site WordPress.org Forums:
I need to get the amount of cart total after the page … -
Created a topic, Replace template by plugin, on the site WordPress.org Forums:
The instruction to replace the template like cart.php … -
Created a topic, Best way of getting data into CSS, on the site WordPress.org Forums:
I need to store the CSS value somewhere, so far I have… -
Posted a reply to How WordPress get the base URL, on the site WordPress.org Forums:
@hirenbhanderi Exactly, but how does WordPress get the base URL localhost/example before putting it into… -
Posted a reply to How WordPress get the base URL, on the site WordPress.org Forums:
@hirenbhanderi Hi, get_site_url() is also using get_option ( 'siteurl' ) if you look at the… -
Created a topic, How WordPress get the base URL, on the site WordPress.org Forums:
Assume our base URL is example.com. $_SERVER['SER… -
Posted a reply to Sequence of admin_post and admin_menu, on the site WordPress.org Forums:
@threadi You saved my day, thank you so much! -
Posted a reply to Sequence of admin_post and admin_menu, on the site WordPress.org Forums:
@threadi To be honest, I still do not fully understand. But do you mean the… -
Posted a reply to Sequence of admin_post and admin_menu, on the site WordPress.org Forums:
@threadi From the doc Normally, we will have another file/script to handle the form like,… -
Posted a reply to Sequence of admin_post and admin_menu, on the site WordPress.org Forums:
@threadi Hi, sorry but I don't think you understand the question... -
Created a topic, Sequence of admin_post and admin_menu, on the site WordPress.org Forums:
I use the hook admin_menu to create a custom menu page… -
Posted a reply to SQL – Single quotes and backticks for query, on the site WordPress.org Forums:
@bcworkz It returns NULL when I echo prepare () if I %s the table name.… -
Posted a reply to Passing function into wp_safe_redirect, on the site WordPress.org Forums:
@bcworkz Nonono, you didn't get the point. I didn't put the wp_safe_redirect on the first… -
Posted a reply to SQL – Single quotes and backticks for query, on the site WordPress.org Forums:
@bcworkz Is that mean the $table_name shouldn't be replace by %slike the below: $wpdb ->… -
Posted a reply to Passing function into wp_safe_redirect, on the site WordPress.org Forums:
@bcworkz Nope, it seems you misunderstood my point. It's my fault not to mention that… -
Posted a reply to Passing function into wp_safe_redirect, on the site WordPress.org Forums:
@bcworkz Okay, cannot believe this mistake took me two days, I think I know why.… -
Posted a reply to SQL – Single quotes and backticks for query, on the site WordPress.org Forums:
@bcworkz I found a relevant question although I don't understand what the answer is talking… -
Posted a reply to Passing function into wp_safe_redirect, on the site WordPress.org Forums:
@bcworkz I have also tried: $url = 'https://' . $_SERVER['SERVER_NAME'] . $_SERVER['PHP_SELF'] . '?' .… -
Posted a reply to SQL – Single quotes and backticks for query, on the site WordPress.org Forums:
@bcworkz Sorry but your code still doesn't work :( $wpdb -> prepare ( "SELECT !value!… -
Posted a reply to Passing function into wp_safe_redirect, on the site WordPress.org Forums:
@bcworkz I have created a menu page with a form, I want the user to… -
Posted a reply to Passing function into wp_safe_redirect, on the site WordPress.org Forums:
@bcworkz I have realized that it's caused by the $_SERVER['REQUEST_URI'] part, as soon as it's… -
Posted a reply to SQL – Single quotes and backticks for query, on the site WordPress.org Forums:
@bcworkz Not sure if this is a bug, the below code won't work: $current_status =… -
Posted a reply to Passing function into wp_safe_redirect, on the site WordPress.org Forums:
@bcworkz I actually have the exit after the wp_safe_redirect (), but it's not working... -
Posted a reply to SQL – Single quotes and backticks for query, on the site WordPress.org Forums:
@bcworkz You're right and I should look at the doc :) But the doc said:… -
Posted a reply to Which query need to be escaped, on the site WordPress.org Forums:
@bcworkz It doesn't make sense for me to escape the $path parameter of get_site_url because… -
Created a topic, Passing function into wp_safe_redirect, on the site WordPress.org Forums:
I have a function that returns a value like: function… -
Created a topic, SQL – Single quotes and backticks for query, on the site WordPress.org Forums:
I have referred to Stack Overflow, sorry because it mi… -
Posted a reply to Storing database table name as const, on the site WordPress.org Forums:
Ok, I didn't release the double quotes. Only Variable are parsed within it but not… -
Created a topic, Storing database table name as const, on the site WordPress.org Forums:
I'm trying to store the database table name as a const… -
Posted a reply to Which query need to be escaped, on the site WordPress.org Forums:
@bcworkz Hi, why not just use the PHP prepared statement "link", but use $wpdb ->… -
Created a topic, How to add admin notice after redirect, on the site WordPress.org Forums:
I wanna add an admin menu by admin_notices after the r… -
Created a topic, Which query need to be escaped, on the site WordPress.org Forums:
I found that $wpdb -> insert and $wpdb -> update… -
Created a topic, Proper way of saving data, on the site WordPress.org Forums:
I have a form in my custom menu page ( admin ), and I … -
Created a topic, Very tired of escaping on development, on the site WordPress.org Forums:
Every time I need to check whether the function has al… -
Created a topic, Changing name of duplicated sub-menu, on the site WordPress.org Forums:
I'm using this method ( https://developer.wordpress.or… -
Posted a reply to namespace not working correctly, on the site WordPress.org Forums:
@hellofromtonya Appreciate your guideline! Thank you so much -
Posted a reply to namespace not working correctly, on the site WordPress.org Forums:
@diondesigns Hi, the function function_name is in another file and I require this file on… -
Posted a reply to Alternative of register_activation_hook, on the site WordPress.org Forums:
@threadi Sorry because I misread plugin_basename( $file ) as basename(__FILE__)... But I think you still… -
Created a topic, namespace not working correctly, on the site WordPress.org Forums:
In the main plugin file, the callback function has to … -
Posted a reply to Alternative of register_activation_hook, on the site WordPress.org Forums:
@threadi I'll not consider the original method register_activation_hook because it uses the plugin_basename which does… -
Posted a reply to Alternative of register_activation_hook, on the site WordPress.org Forums:
@threadi You should look at the documentation ( https://developer.wordpress.org/reference/functions/register_activation_hook/ ). The hook should be activate_sampleplugin/sample.php,… -
Created a topic, Alternative of register_activation_hook, on the site WordPress.org Forums:
I can see the register_activation_hook is using the pl… -
Posted a reply to wp dropdown categories not showing selected option, on the site WordPress.org Forums:
@bcworkz Thanks for your patience and detailed answers! Really appreciate that! -
Created a topic, Real solutoin to protect plugin/theme, on the site WordPress.org Forums:
Hi, Does anyone knows a REAL solution that can protect… -
Created a topic, Display extra informatoin on plugin page, on the site WordPress.org Forums:
Hello, why there are some information below the descri…