PHP – WordPress – Get all Post Meta
The given PHP funciton returns all of a WordPress post meta data in an array without specifying a key. Code Example:
The given PHP funciton returns all of a WordPress post meta data in an array without specifying a key. Code Example:
This PHP function helps you to clean a string while save into database. Code Example:
WordPress menus and sidebars/widgets are really powerful modules, but unfortunately it requires Admin user role to edit them. If you would like to allow users with Editor user role to edit any of the widgets or menus, just paste the… (READ MORE)
This php function helps you to converts an IP address to it’s relative hex value. Code Example: Output:
This php function helps you to get the required attributes from the elements to a given HTML. Code Example: Output:
This php example helps you to read the RSS XML data in simple manner. Code Example:
This simple function allows you to star out a password for simple reminder. Code Example:
This following PHP example helps you to getting the files, folders, file count, folder count in a directory. Code Example:
This following PHP example helps you to get the current category slug in WordPress. Code Example: