2,083 reputation
1416
bio website w4dev.com
location Bangladesh
age 25
visits member for 1 year, 5 months
seen 16 hours ago

I am a freelance web developer, and wordpress enthusiast.


17h
comment How to build an API as a plugin
Here pugs stands for the variable name. You can replace it to something else on both location. For example, you can call it myparameter, then it would be myparameter=$matches[1] and $my_parameter = $wp->query_vars['myparameter'];
1d
answered How to build an API as a plugin
1d
comment How to add filter for wordpress plugin?
Awesome :) Note: WP has some quick functions to make things easier. Such as __return_false, __return_true, __return_empty_array etc. So for doing true/false type return, you can just use them quickly. ex: add_filter( 'some_custom_filter', '__return_false');
1d
comment How to add filter for wordpress plugin?
Exactly where did you called the setup_filters method ? please include the full code. Note: apply_filters should be called before add_filter.
1d
answered How to add filter for wordpress plugin?
Apr
9
comment Showing “diaplay_name”
Well the exact problem right here is the $user_id. The WooCommerce method you have provided doesn't use any $user_id parameter, and without the id, you can't fetch the display name.
Apr
9
answered How to show show the Second page title in the page
Apr
8
comment WordPress API functions not working at AJAX functions.php call
Weird, this isn't a regular behavior of WP as far i know. Try deactivating all plugins and then, try moving your code into a default theme such as 2012.
Apr
8
comment WordPress API functions not working at AJAX functions.php call
What happen when you call the function with minimum arguments - wp_dropdown_categories('taxonomy=category') ?
Apr
3
awarded  Custodian
Mar
26
answered How add built-in textarea in theme development?
Mar
11
answered How to Get Current Custom Post Type Associated Taxonomy Term
Mar
3
comment Shortcode into widget
Use double quote then - do_shortcode('[example title="sample"]'); or do_shortcode("[example title='sample']");
Mar
3
reviewed No Action Needed XML feed failing to generate because it can't find a plugin
Mar
3
answered Create a google friendly header with text and logo
Mar
3
comment Shortcode into widget
You are welcome. Once you have tested it, accept it as the correct answer :)
Mar
3
answered Shortcode into widget
Jan
25
answered How to replace URL protocol using PHP?
Jan
25
comment Pass important values server-side when processing form
By "users", do you mean a registered member or visitors ?
Nov
20
awarded  Yearling