Remove defined HTML tags including content from a string with PHPRecently, a friend asked me to send a script to remove pre tags from a string, including content. He uses a script to calculate the reading time for the content, but doesn't want the pre-tags to be included in the scoring. So if you ever have a simil...2 min read·en.pixelbart.deSep 22, 2022
WordPress: Useful functions for working with arrays and objectsWordPress is packed with useful features. It is easy to lose the overview. Here you will find a selection of functions that deal with arrays and objects. A small collection of useful functions that you can always use, if you know that they exist. wp_...3 min read·en.pixelbart.de2AMay 11, 2022
Using PHP to find out a date, a period of time or the difference as textIn this post you will learn how to output times with PHP and also WordPress. This includes the current date; dates in the future, or in the past. Also how to find out days within a time period. Have fun! time() With time() the current timestamp can b...3 min read·en.pixelbart.de1KFeb 15, 2022