2010-08-28, 23:27:59
Is the add_action line between <?php ... ?> tags?
This works ok:
(save it as thisisatest.php in your plugins folder)
This works ok:
Code:
<?php
$thisfile = basename(__FILE__, ".php");
register_plugin($thisfile,'thisisatest','','','','');
add_action('edit-content','show_test');
function show_test() {
echo 'this is a test string this is a test string';
}
?>