title: Remove a div with ID from the_content WordPress
body: <p>I was trying to remove a div having some ID from the_content WordPress.
  I am trying to achieve something like this</p>
  
  <pre><code>jQuery( "#some_id" ).remove();
  </code></pre>
  
  <p>but on server side,</p>
  
  <p>I don't have a clue how I can do this on server side within the_content filter hook.</p>
  
  <p>This is something I like to achieve,</p>
  
  <pre><code>add_filter( 'the_content', 'my_the_content_filter', 20 );
  function my_the_content_filter( $content ) {
  
  
      $content.find('#some_id').remove();
  
  
      return $content;
  }
  </code></pre>