add_filter() function in WP
function filtering($a){
echo "<h5> $a </h5>";
}
add_filter('the_title','filtering');
add_filter() function has two parameters
1st : The function/hook which will be filtered
2nd : Filtering will done by which function
echo "<h5> $a </h5>";
}
add_filter('the_title','filtering');
add_filter() function has two parameters
1st : The function/hook which will be filtered
2nd : Filtering will done by which function
Comments
Post a Comment