Changing The Excerpt Length

Note: This is part of the developer docs and is considered custom code.
Unfortunately, we cannot provide support for custom code at this time as we do not have the additional resources that would be necessary to provide support for custom code.

If you need assistance with this, please reach out to our list of consultants for further assistance:
https://codeable.io/developers/restrict-content-pro/

By default, Restrict Content Pro sets the excerpt length to 50 words. If you wish to modify this, you can use the  rcp_filter_excerpt_length filter.

For example:

function pw_rcp_custom_excerpt_length( $length ) {
	return 100; // Set length to 100 words
}
add_filter( 'rcp_filter_excerpt_length', 'pw_rcp_custom_excerpt_length' );
Powered by Zendesk