[wp-trac] [WordPress Trac] #58824: Add a filter to change the classes in posts list table in admin
WordPress Trac
noreply at wordpress.org
Thu Aug 1 10:10:52 UTC 2024
#58824: Add a filter to change the classes in posts list table in admin
-------------------------------------+-------------------------------------
Reporter: zahardoc | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: good-first-bug has- | Focuses: ui, css,
patch | administration
-------------------------------------+-------------------------------------
Comment (by zahardoc):
Replying to [comment:8 iflairwebtechnologies]:
> @zahardoc
> You can review #7122 patch, the changed code with added custom class for
custom post type
@iflairwebtechnologies Are you sure this is the correct link? It leads me
to the 16-year-old closed ticket.
Regarding the 58824 patch - is it possible to also add a filter there?
Something like this:
{{{#!php
<?php
return apply_filters( 'wp_list_table_classes', $classes, $this );
}}}
Thank you!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58824#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list