i want to edit the content in the ob_start but not working
my code:
<?php ob_start(); ?>
echo "Bird";
<?php apply_filters('filter_name',ob_get_clean()); ?>
custom:
<?php
add_filter('filter_name','my_hook');`
function my_hook(){
echo "Duck";
}
expect results : Duck
Example: