Noptin_Inpost::__construct()

Class Constructor.


Source Source

File: includes/class-noptin-inpost.php

	public function __construct() {

		// Prepend/Apend inpost forms to the post content.
		add_filter( 'the_content', array( $this, 'append_inpost' ) );

		// Register shortcode.
		add_shortcode( 'noptin-form', array( $this, 'do_shortcode' ) );

		// Hide block content.
		add_filter( 'pre_render_block', array( $this, 'maybe_hide_block' ), 10, 2 );

	}

Top ↑

User Contributed Notes User Contributed Notes

30 day money back guarantee
Safe & Secure online payment
Custom CSS Slide Example
Custom Animation Example
Default Animation