Use `$hook_name` when referring to a filter or action hook name, and `$callback` when referring to a callback function. This brings more consistency to parameter names in Plugin API functions. Includes minor code layout fixes for better readability and reordering some functions in a more logical order. Props johnbillion, jrf, SergeyBiryukov. Fixes #50531. Built from https://develop.svn.wordpress.org/trunk@50807 git-svn-id: http://core.svn.wordpress.org/trunk@50416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
32 KiB
32 KiB