register_activation_hook()
-
<?php
function title_to_uppercase($post)
{
$title = strtoupper($post);
return $title;
}register_activation_hook( __FILE__ , ‘cap’ );
function cap(){
add_filter( ‘the_title’,’title_to_uppercase’ );
}
?>My code is not working.
Help me out with this topic .
Am I calling a method in wrong way???
Thank you in advance for reply.
- The topic ‘register_activation_hook()’ is closed to new replies.