That field is not filtered in template.
One way would be to filter get_terms()
on that page (but I am not entirely sure that won’t break something):
add_action( 'admin_head-edit-tags.php', 'admin_edit_tags' );
function admin_edit_tags() {
add_filter( 'get_terms', 'admin_trim_category_description', 10, 2 );
}
function admin_trim_category_description( $terms, $taxonomies ) {
if( 'category' != $taxonomies[0] )
return $terms;
foreach( $terms as $key=>$term )
$terms[$key]->description = substr( $term->description, 0, 50 );
return $terms;
}
Related Posts:
- Is it ever okay to include inline CSS in plugins?
- Is it mandatory to use $wpdb->prefix in custom tables
- add_action hook for completely new post?
- Is get_option function cached?
- How to include jQuery and JavaScript files correctly?
- How do I log plugin (cron) actions?
- Is there a hook for when you switch themes?
- Adding pre-publish checks with Gutenberg
- Problems after wp_set_password() containing an apostrophe
- Error getting correct blog_id on MU from functions.php
- Front-End Form Submission in Shortcode
- Plugin Localization
- Error : “Updating failed: The response is not a valid JSON response” with custom shortcode
- array_map() for sanitizing $_POST
- Why cant the WP Filesystem API read googlefonts.json?
- calling jquery function on plugin page
- Is there a faster way than wp_insert_post to add content to a blog
- How to include external library in wordpress plugin
- Delete a specific item menu when I deactivate my plugin
- Ajax in WordPress – path issue
- Platform/Website that Supports Crowd-Funded WordPress Projects? [closed]
- How to determine if the current file is loaded in a plugin or in a theme?
- Decrease RSS cache time in plugin?
- Add version query tag to all images
- Creating table with plugin is not working
- Which action is triggered when a theme was modified?
- Check if someone is editing a post (this content is currently locked)
- How to add a custom tag in contact form 7 and change the output in email?
- How to delete an user including data from custom database tables
- How can I create a plugin that changes the title color of a website?
- How to check if Woocommerce Order number equals to post ID?
- Add custom element ID depending where the widget place is, sidebar or footer
- Two functions utilizing registration_errors filter
- Issue plugin commands in admin settings page
- My plugin class doesn’t work! [closed]
- Creating a shortcode, but getting tied up with OOP and Classes?
- Call PHP file within a plugin to activate function
- add_action not calling back to function
- Example Dashboard Widget, Cancel not working
- Woocommerce checkout update totals with datepicker
- add_shortcode() not working inside of function
- How to add and remove a page
- correct way to call javascript into hook function
- is it recommended to use WP_List_Table?
- Multiple Plugin best practice in Multisite
- How to extend WooCommerce API to show bookable product availability rules?
- WordPress allows multiple users to have same email ID; and I’ve a problem with it!
- Enumerating shortcode attributes in JavaScript
- wp-cron and execution of code in is_admin() included script
- use of do_action() without any functions attached
- json_decode does not work on WordPress
- Delist entries in the_loop
- wordpress add_submenu_page adds broken link
- esc_html__() and __() not working within arrays
- Uploaded attachment not set as featured image
- WordPress – manually relate a post to page(s)?
- Styles don’t load correctly. Insecure content
- How to use apiFetch to get author information in Gutenberg properly?
- Gutenberg blocks error: Each child in a list should have a unique “key” prop
- Can we use a library under MIT license in a WooCommerce plugin?
- How to display the specific post content by using POST ID
- Soap web service request from wordpress plugin
- Why does comments_open() return false when publishing a scheduled post?
- How to list all images used on a specific page?
- Create fixed static pages
- Use options to control jQuery plugin
- Including template in shortcodes
- Is there anything special required to make a plugin work in a multisite environment?
- How to exclude categories from get_categories() select list inside a widget admin panel
- How to exclude “uncategorized” from custom categories widget?
- WordPress plugin development theme issue
- Using custom IDP with WP
- Trying to run a Ajax request from a checkout form in woocommerce via a custom plugin
- Securing custom rest API endpoints with public access from PWA
- Using WordPress Boilerplate (WPBP) for WP Multisite Plugin
- WordPress5.2.3: Better File Download Plugin validation issue
- How do I make secure API calls from my WordPress plugin?
- esc_attr() on hard coded string
- Creating a return url for getting data from external api
- WordPress Plugin Boilerplate – add actions and/or filters based on user’s role
- How to use functions from Woocommerce documentation?
- Is it possible to restore an expired transient?
- How to Maintain url on form submit
- Experts opinions needed: How (in)secure is this approach?
- WP API users per page
- action callback, for action dispatched as reported by hook sniffer, not called
- variable created in page.php is null inside of header.php
- Access WordPress Tag Function From Modal
- Problem with Poedit [closed]
- how can I insert a link on login page
- Insert plugin html content to a specific spot in the frontpage
- Is Explicit Versioning a better alternative to Semantic Versioning for wordpress?
- Help interpreting @wordpress/create-block-tutorial-template usage error
- What’s wrong in the WordPress Meta Box Generator code?
- add category id to option name when adding an option on edit_category
- esc_url, esc_url_raw or sanitize_url?
- React Plugin Settings Page Localization
- Is it within WordPress guidelines to update another plugin’s database fields from my own plugin? [closed]
- Block Development: hamburger module throwing error in save function
- How can I chanage the user for the composer container in wp-env?