@@ -13,8 +13,8 @@ |
||
| 13 | 13 | if ( ! class_exists( 'PLUGIN_TABLE' ) ) { |
| 14 | 14 | |
| 15 | 15 | if ( ! class_exists( 'WP_List_Table' ) ) { |
| 16 | - require_once( ABSPATH . 'wp-admin/includes/screen.php' ); |
|
| 17 | - require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' ); |
|
| 16 | + require_once( ABSPATH . 'wp-admin/includes/screen.php' ); |
|
| 17 | + require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' ); |
|
| 18 | 18 | } |
| 19 | 19 | |
| 20 | 20 | final class PLUGIN_TABLE extends WP_List_Table { |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | break; |
| 165 | 165 | } |
| 166 | 166 | |
| 167 | - if ( $output ) return $output; // Related to PLUGIN_TABLE() |
|
| 167 | + if ( $output ) return $output; // Related to PLUGIN_TABLE() |
|
| 168 | 168 | } |
| 169 | 169 | |
| 170 | 170 | |
@@ -279,7 +279,7 @@ discard block |
||
| 279 | 279 | echo '<textarea name="settings_field_name" id="settings_field_name" value="' . get_option('settings_field_name') . '>'. __( 'Enter Value', 'textdomain' ) . '</textarea>'; |
| 280 | 280 | echo '<select name="settings_field_name" id="settings_field_name"><option value="value" ' . selected( 'value', get_option('settings_field_name'), false) . '>Value</option></select>'; |
| 281 | 281 | echo '<input type="checkbox" id="settings_field_name" name="settings_field_name" value="1"' . checked( 1, get_option('settings_field_name'), false ) . '/>'; |
| 282 | - */ |
|
| 282 | + */ |
|
| 283 | 283 | } |
| 284 | 284 | } |
| 285 | 285 | } ?> |
@@ -64,12 +64,12 @@ |
||
| 64 | 64 | |
| 65 | 65 | |
| 66 | 66 | /** |
| 67 | - * Save the Metabox post data |
|
| 68 | - * |
|
| 69 | - * @param Array $atts |
|
| 70 | - * |
|
| 71 | - * @return Html |
|
| 72 | - */ |
|
| 67 | + * Save the Metabox post data |
|
| 68 | + * |
|
| 69 | + * @param Array $atts |
|
| 70 | + * |
|
| 71 | + * @return Html |
|
| 72 | + */ |
|
| 73 | 73 | function save( $post_id, $post ) { |
| 74 | 74 | |
| 75 | 75 | //Check if doing autosave |
@@ -24,11 +24,11 @@ |
||
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | 26 | * Shortcode callback |
| 27 | - * |
|
| 28 | - * @param Array $atts |
|
| 29 | - * |
|
| 30 | - * @return Html |
|
| 31 | - */ |
|
| 27 | + * |
|
| 28 | + * @param Array $atts |
|
| 29 | + * |
|
| 30 | + * @return Html |
|
| 31 | + */ |
|
| 32 | 32 | public function cb($atts) { |
| 33 | 33 | |
| 34 | 34 | $data = shortcode_atts( array( |
@@ -40,12 +40,12 @@ |
||
| 40 | 40 | /** |
| 41 | 41 | $user_args = $this->user_args($paged); |
| 42 | 42 | $the_query = new WP_User_Query( $user_args ); |
| 43 | - */ |
|
| 43 | + */ |
|
| 44 | 44 | |
| 45 | 45 | // The Loop |
| 46 | 46 | if ( $the_query->have_posts() ) { |
| 47 | 47 | while ( $the_query->have_posts() ) { |
| 48 | - $the_query->the_post(); |
|
| 48 | + $the_query->the_post(); |
|
| 49 | 49 | // Do Stuff |
| 50 | 50 | } // end while |
| 51 | 51 | } // endif |