You are using it wrong. add_action : attachs a function to an action hook. In your code, you are attaching alter_item funtion to admin_menu ...
確定! 回上一頁