How to Create Plugin in WordPress From Scratch – Part 1

Plugins are one of the best parts of using wordpress because you can install them very easy and get a new functionality for your website. You can find out there a plugin for alomost anything you want for your website. However you have to pay attention to what install in your website because some of… Continue reading How to Create Plugin in WordPress From Scratch – Part 1

How To Get All Occurrences of a string php between delimiters

Using the following function we get all occurences from a string which are between two delimiters. As you can see all paramters you have to pass is the string where the function will serach, the start delimiter and the final delimiter. Get all occurences of a string php public function getContents($str, $startDelimiter, $endDelimiter) { $contents… Continue reading How To Get All Occurrences of a string php between delimiters