the_content

The shortcodes-ultimate the content hook.

Published Date - February 15, 2021

Description

return apply_filters( 'the_content', $content );

Parameters

  1. $content


Usage

The following example is for adding a hook callback.

// define the the_content callback 
function custom_the_content( $content ){ 
   //custom code here
    return $content
} 

//add the action 
add_filter('the_content', 'custom_the_content', 10, 1)

Defined

The filter is defined in the following location(s).

shortcodes-ultimate/includes/filters.php

return apply_filters( 'the_content', $content );