AI Verified

Name

Move 'ID' column on Snippets menu

About

Changes the position of the 'ID' column in the Snippets table.

Language

PHP

Rating

Voted: 0 by 0 user(s)

Codevault

shea

Scroll down to see more snippets from this codevault.

Wordpress Compatability

The author has indicated that this snippet is compatable up to wordpress version: 6.4

Our AI bot has checked this snippet is compatable up to wordpress version: 6.1

Code Snippet Plugin Sync

Free & Pro

Download this snippet by clicking the download button, then head over to the Code Snippet Plugin settings in your wordpress admin dashboard, select the import menu then upload this file to import into your wordpress site.

Pro Only (Coming Soon)

You will be able to click a button and sync this snippet to your wordpress site automatically and from your dashboard manage all code snippets across all your wordpress sites that have the Code Snippets Pro plugin installed.

History

Last modified:

03/08/2024

Important Note

This snippet has the following status:

AI Verified

This snippet has been tested by our AI bot, see any comments below.

AI Bot Comments:

Found 0 vulnerabilities

Move 'ID' column on Snippets menu

 
                    
1add_filter( 'code_snippets/list_table/columns', function ( $columns ) {
2 return [
3 'cb' => $columns['cb'],
4 'id' => $columns['id']
5 // You can add other columns you wish to reposition here – just follow the same format as above.
6 ] + $columns;
7} );

0

Related Snippets

Please see some snippets below related to this snippet..

WordPress Admin

AI Verified

1

Disable Wordpress Admin Bar Test

Added: 1 year ago

Last Updated: 5 months ago

There must be many of these - this is just my test I also want to see if line breaks are preserved in the description   should be free

WordPress Admin

AI Verified

0

Add Discount Selection to WordPress User

Added: 3 weeks ago

Last Updated: 3 weeks ago

This code add a discount field to the user profile in Wordpress

WordPress Admin

AI Verified

0

WP Dashboard Scrolling Marquee

Added: 1 year ago

Last Updated: 1 year ago

This snippet creates a Scrolling Marquee on the Home page of the WP Admin Dashboard. A great little feature for web designers to put a scrolling message/advert on the dashboard. The Marquee is stu...

Other Snippets in this Codevault

These are some popular snippets from this users codevault..

WordPress Admin

AI Verified

22

Change admin footer text

Added: 2 years ago

Last Updated: 1 week ago

Customises the footer text in the WordPress dashboard.

General

AI Verified

2

Make upload filenames lowercase

Added: 1 year ago

Last Updated: 2 months ago

Ensures that the filenames of all uploaded files are converted to lowercase, for consistency.

WordPress Admin

AI Verified

1

Disable automatic scroll-to-notices when adding snippets

Added: 10 months ago

Last Updated: 10 months ago

By default, Code Snippets will scroll the page up so that new notices are visible when editing or adding snippets. This snippet disables that functionality for those who prefer a more consistent editi...