From c6f44adee64b77613a15a6f46f4a89056c07fac7 Mon Sep 17 00:00:00 2001 From: Jay Wood Date: Fri, 1 Jul 2016 11:42:28 -0400 Subject: [PATCH] Yet more cleanup #45 --- includes/admin.php | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/includes/admin.php b/includes/admin.php index acaa0a6..7fec419 100644 --- a/includes/admin.php +++ b/includes/admin.php @@ -21,6 +21,9 @@ class CWV2_Admin { /** * Hooks for the administrator panel + * + * @author JayWood + * * @since 3.6.3 */ function hooks() { @@ -44,6 +47,9 @@ class CWV2_Admin { /** * Centers custom column content + * + * @author JayWood + * * @since 3.6.3 * @return null */ @@ -54,9 +60,11 @@ class CWV2_Admin { /** * Sets column data for the CWv3 column * + * @author JayWood + * * @since 3.6.3 * - * @param $col + * @param string $col */ public function set_col_data( $col ) { global $post; @@ -75,9 +83,11 @@ class CWV2_Admin { /** * Adds columns to the post list table * + * @author JayWood + * * @since 3.6.3 * - * @param $cols + * @param array $cols * * @return array */ @@ -90,6 +100,8 @@ class CWV2_Admin { /** * Add metabox to post types * + * @author JayWood + * * @since 3.6.3 * @return void */ @@ -110,6 +122,9 @@ class CWV2_Admin { /** * Gets the post types that can be used with CWv2 + * + * @author JayWood + * * @since 3.6.4 * @return array */ @@ -123,6 +138,8 @@ class CWV2_Admin { /** * Saves meta data * + * @author JayWood + * * @since 3.6.3 * * @param int $post_id @@ -153,9 +170,12 @@ class CWV2_Admin { /** * Render the meta box for CWv3 + * + * @author JayWood + * * @since 3.6.3 * - * @param $post + * @param WP_Post $post */ public function render_metabox( $post ) { wp_nonce_field( plugin_basename( __FILE__ ), 'cwv3_meta' ); @@ -170,5 +190,4 @@ class CWV2_Admin {