WordPress Hooks


Hooks

All Grid Core Hooks are proxied to WordPress actions with prefix “grid_”.

For example “publishGrid” can be use like this.

function my_function($grid_id){
  // do whatever you want
}
add_action("grid_publishGrid", 'my_function');

 

Filters

Grid Wrapper Class

function fun($classes){
return array('meine-wrapper-class');
}

add_filter('grid_the_content_wrapper_class','fun');