[Plugin: Codepress Admin Columns] Suggestion – Custom fields to have PHP to display value
-
I am not sure if others have need for this, but I make many custom fields for custom post types. Some of these fields are true / false others are custom array’s.
I would love to have a checkbox on a custom field column option which would say something like “Custom display” which would show a text area where you could enter your own PHP to display the meta value in a custom way.
Example:
if( 'meta_value' == 1 ) {
echo 'Yes';
}else{
echo 'No';
};if( 'meta_value' == '' ) {
echo 'No Data';
}else{
echo 'meta_value';
};Who knows its a worthy feature to add, but thought I might suggest it.
Thanks for the great plugin!
https://www.ads-software.com/extend/plugins/codepress-admin-columns/
- The topic ‘[Plugin: Codepress Admin Columns] Suggestion – Custom fields to have PHP to display value’ is closed to new replies.