title: WP plugin: Inserting block of HTML
body: <p>How can I insert a block of HTML from a WP plugin?</p>
  
  <p>For example, I was thinking of something like:</p>
  
  <pre><code>add_action( 'wp_footer', array( $this, 'myFunc' ));
  //...
  //...
  //...
  //...
  public function myFunc() {
             echo '&lt;p&gt;I am HTML code!&lt;/p&gt;';          
          }
  </code></pre>
  
  <p>The problem with that is that wp_footer, according to WP documentation, might not be available on some themes (<a href="http://codex.wordpress.org/Plugin_API/Action_Reference/wp_footer" rel="nofollow">http://codex.wordpress.org/Plugin_API/Action_Reference/wp_footer</a>). </p>
  
  <p>Anything else that I could do?</p>