Tags » Wordpress-hooks

Google Map Shortcode for WordPress

This short-code will generate built in Google Map for WordPress. It is 100% working just copy this to your functions.php

function googlemap_function($atts, $content = null) {
   extract(shortcode_atts(array(
      "width" => '640',
      "height" => '480',
      "src" => ''
   ), $atts));
 
   return '';
}
add_shortcode("googlemap", "googlemap_function");
… 15 more words
Wordpress

PDF Embed Shortcode for Wordpress

Hi Guys.. In this tutorial we discuss about pdf file. this code usually embed your pdf to the page that you can actually see the content of the pdf and you can set the width and the height. 60 more words

Wordpress

WordPress Action Hooks and Filter Hooks

What Are WordPress Hooks?

Hook is a certain location in the WordPress code which allows you to attach or run your own code.

Another way of describing WordPress hooks is that they are sort of like designated areas within the WordPress code which give you the opportunity to execute your own functions. 1,483 more words

Wordpress

Introduction to Wordpress Hooks

WordPress hooks enable us to literally hook into parts of the WordPress page life-cycle to retrieve, insert, or modify data, or they allow us to take certain actions behind the scenes. 372 more words

Extras

Definition of a Wordpress hook

Hooks.

The term confused me for ages when I first started looking into WordPress plugin development. Anything I’ve learned about them I feel like I’ve doneĀ  180 more words

Wordpress