Changes between Version 5 and Version 6 of Ticket #16502, comment 16
- Timestamp:
- 01/30/2023 03:54:52 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16502, comment 16
v5 v6 35 35 36 36 function test_16502_hide_quick_edit( $actions ) { 37 unset( $actions['inline hide-if-no-js'] );37 if ( isset( $_GET['hide_quick_edit'] ) && '1' === $_GET['hide_quick_edit'] ) unset( $actions['inline hide-if-no-js'] ); 38 38 return $actions; 39 39 } 40 40 41 41 function test_16502_hide_quick_edit_comments( $actions ) { 42 unset( $actions['quickedit'] );42 if ( isset( $_GET['hide_quick_edit'] ) && '1' === $_GET['hide_quick_edit'] ) unset( $actions['quickedit'] ); 43 43 return $actions; 44 44 } 45 46 45 }}} 47 46 2. Navigate to `Plugins > Installed Plugins` and activate **Test #16502**.