Viewing 2 replies - 1 through 2 (of 2 total)
  • lamvt

    (@lamvt)

    function lamvt_wrap_content($content) {
    
    		$content .='';
    //add your filter here
    
    		return $content;
    	}
    	add_filter('the_content','lamvt_wrap_content', 99);
    lamvt

    (@lamvt)

    Or you can use
    /*Support https://lamvt.vn*/
    add_action( ‘pre_amp_render_post’, ‘lamvt_amp_add_custom_actions’ );
    function xyz_amp_add_custom_actions() {
    add_filter( ‘the_content’, ‘lamvt_amp_add_custom_actions’ );
    }

    function lamvt_amp_add_custom_actions( $content ) {
    /*your action here*/
    return $content;
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Make a replace at the content’ is closed to new replies.