Advertisement
phpface

Untitled

Apr 17th, 2021
1,047
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.41 KB | None | 0 0
  1. /**
  2.  *
  3.  * Insert ads before video player
  4.  *
  5.  */
  6. function videotube_ads_before_video(){
  7.     ?>
  8.     <!-- Ads code goes here -->
  9.  
  10.     <?php
  11. }
  12. add_action( 'videotube_before_video', 'videotube_ads_before_video' );
  13.  
  14. /**
  15.  *
  16.  * Insert ads after video player
  17.  *
  18.  */
  19. function videotube_ads_after_video(){
  20.     ?>
  21.     <!-- Ads code goes here -->
  22.  
  23.     <?php
  24. }
  25. add_action( 'videotube_after_video', 'videotube_ads_after_video' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement