name_save_pre not being called
-
hey, I’m trying to add some filters to the post slug (aka post name) but the ‘name_save_pre’ filter isn’t being called when I save a post. Am I missing something?
function mhp_change_name($p){ //printing parameter so I can see it's being called print_r($p); return $p; } add_filter('name_save_pre', 'mhp_change_name', 10, 1);
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘name_save_pre not being called’ is closed to new replies.