why does the add_action(‘the_content’) overwrite my page
There is a subtle difference between action hooks and filters. The most notable one is that filter functions are expected to receive a value and pass it along in return when done with their work. Inside the function the value can be modified or be used for something else. In your case the_content is a … Read more