wp_trim_excerpt

wp_trim_excerpt

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('wp_trim_excerpt') is found 1 times:

  • /wp-includes/formatting.php line 4014
    	 *
    	 * @param string $text        The trimmed text.
    	 * @param string $raw_excerpt The text prior to trimming.
    	 */
    	return apply_filters( 'wp_trim_excerpt', $text, $raw_excerpt );
    }
    
    /**
     * Trims text to a certain number of words.
     *
     * This function is localized. For languages that count 'words' by the individual
    

See this hook used in plugins: