excerpt_content

Quickshot: use the excerpt or content as excerpt

This one is a quick one. In case you don’t know if there’s an excerpt and want to use the content as fallback with all excerpt filters attached, give the following a try:

print apply_filters( 
	'get_the_excerpt'
	,get_the_excerpt() 
	XOR get_the_content('') 
);