title: Wordpress Hook into page body
body: <p>I am working on a plugin that will be used to add a customized form of Acuity Scheduling for a specific page. I want to add the scheduling form after the menu and page title on one particular page. Here is my current code:</p>
  
  <pre><code>add_action( 'template_redirect', 'check_if_acuity_page');
  
  function check_if_acuity_page(){
      if(is_page('Schedule Page')){
      add_action( 'add to acuity', 'display_acuity_scheduling_api');
      }
  
  }
  
  function display_acuity_scheduling_api(){
      echo '&lt;div style="margin-top: 25px;"&gt;"Code to add Acuity Schedule to page"&lt;/div&gt;';
  
  }
  </code></pre>
  
  <p>The 'add to acuity' is a custom action hook that is currently added in the header.php file of the theme I am using. It adds the schedule at the very top of the page currently, so I can at least get it on the proper page, but it is located above the Menu and Title for the page. I am working on creating a custom layout and using PHP code to modify the page depending on what the user chooses, which is why I am not just using a simple embed code. </p>
  
  <p>I am new to Wordpress Plugins and Hooks so I am not sure if I am supposed to be using an action or filter hook for this. Any help would be very appreciated.</p>