HEX
Server: Apache
System: Linux 103-174-50-80.cprapid.com 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64
User: lennoxfa (1022)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/lennoxfa/public_html/wp-content/themes/oceanwp/partials/edd/shortcode-content-excerpt.php
<?php $excerpt_length = get_theme_mod( 'ocean_edd_archive_excerpt_length', 5 ) ?>
<?php if ( has_excerpt() ) : ?>
	<div class="edd_download_excerpt">
		<?php echo apply_filters( 'edd_downloads_excerpt', wp_trim_words( get_post_field( 'post_excerpt', get_the_ID() ), $excerpt_length ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
	</div>
<?php elseif ( get_the_content() ) : ?>
	<div class="edd_download_excerpt">
		<?php echo apply_filters( 'edd_downloads_excerpt', wp_trim_words( get_post_field( 'post_content', get_the_ID() ), $excerpt_length ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
	</div>
<?php endif; ?>