WordPress

WordPress Hooks action and filters Part -2

How does WordPress add hooks? Custom hooks are created and called in the same way that Core’s hooks are, with add_action() / do_action() and add_filter() / apply_filters(). Since any plugin or theme can create a custom hook, it’s important to prefix your hook‘s name to avoid collisions with other plugins. Lets take an example of a WordPress function wp_publish post() …

WordPress Hooks action and filters Part -2 Read More »

WordPress Hooks Actions and Filters Introduction Part -1

What are hooks? Hooks are generic term is WordPress. That allows you’r plugin to hook into the rest of the WordPress by calling your custom functions at a specific time. There are different points in WordPress where we have been given hooks and with these hooks we can attach our custom functions later on. Let’s …

WordPress Hooks Actions and Filters Introduction Part -1 Read More »

Add custom user meta fields in WordPress

In our pervious blog we did learn of how to show WordPress Users. In this particular blog we will learn how to display social links. For complete knowledge visit the previous blog. Below is our pervious final code for displaying WordPress Users: Basically the next thing that we want to display are Social links. And …

Add custom user meta fields in WordPress Read More »

%d bloggers like this: