Learn PHP Namespace and Class Loader easy way
Let’s take index.php file first. Now time for the autoload.php file. This is very important file which actually loads the classes dynamically. Let’s setup a class. The file also imports another class. This project actually gives an idea of how the classes can be loaded dynamically. Full source code can be found in this Github …
The Art of Plugin Development: Common Mistakes to Avoid ( WordCamp Speech)
The slides are as follows
add_action vs add_filter: What’s the Difference?
add_action is used to add code to WordPress. This code can be executed when a specific event or hook occurs. For example, you could use add_action to add a custom message to the end of every post, or to redirect users to a different page after they log in. add_filter is used to modify the …
add_action vs add_filter: What’s the Difference? Read More »
Journey to Yumthang Valley, Lachung, Sikkim
2019 সালের নভেম্বর মাসে গিয়েছিলাম সিকিমে …
সাধারণ লেনদেন জ্ঞান যা সবারই খেয়াল করা উচিত
ধরুন, আপনি একজনকে বিকাশে ৫০০০ টাকা ধার দিলেন । স্বাভাবিকভাবেই আপনি কত টাকা পাঠাবেন নিশ্চয়ই ৫১০০ নয়, পাঁচ হাজারই । কিন্তু ফেরত দেবার সময় আপনি কত ফেরত দিবেন ? অবশ্যই আপনার ৫১০০ টাকা দেওয়া উচিত। কেননা বিকাশে ৫১০০ টাকার ক্যাশ মানি হচ্ছে কমবেশি ৫০০০ টাকা । বিকাশের চার্জ ক্যারি করাটা আপনার(যিনি ধার নিয়েছেন) দায়িত্বের মধ্যেই …
Hello world from another WordPress Plugin
Welcome to WordPress. From a new plugin you can print hello world like this. First of all, call an action within a Global Request method as follows: Now run the code. Go to your site url like http://wordpress.local/?test=a Enjoy the output!