Refactoring function names for WP plugin guidelines