Guest User

Untitled

a guest
Apr 10th, 2023
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. add_filter( 'tdb_template_content', function ( $tdb_template_content ) {
  2.  
  3. if ( class_exists( 'TOC_Plus' ) ) {
  4. $toc_plus = new TOC_Plus();
  5. return $toc_plus->the_content( $tdb_template_content );
  6. }
  7.  
  8. return $tdb_template_content;
  9.  
  10. }, 11 );
  11.  
Add Comment
Please, Sign In to add comment