fahimmurshed

Custom "Title Comment" for spacing page

Aug 3rd, 2021
888
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. global $post;
  2.  
  3. if ('5' == $post->ID || '8' == $post->ID || '15' == $post->ID ){
  4.   add_filter('astra_comment_form_title', 'astra_comment_form_title_string');
  5.   function astra_comment_form_title_string( $default ){
  6.     return __("my custom text", 'astra' );
  7.   }
  8. }
RAW Paste Data