wordads_inpost_disable, false

wordads_inpost_disable, false

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('wordads_inpost_disable, false') is found 3 times:

  • /extensions/blocks/wordads/wordads.php line 130
    		if (
    			empty( $wordads )
    			|| empty( $wordads->params )
    			|| is_feed()
    			|| apply_filters( 'wordads_inpost_disable', false )
    		) {
    			return '';
    		}
    
    		if ( ! empty( $attr['hideMobile'] ) && $wordads->params->is_mobile() ) {
    			return '';
    
  • /modules/wordads/class-wordads.php line 489
    		 * @since 4.5.0
    		 *
    		 * @param bool true Should the in post unit be disabled. Default to false.
    		 */
    		$disable = apply_filters( 'wordads_inpost_disable', false );
    		if ( ! $this->params->should_show() || $disable ) {
    			return $content;
    		}
    
    		$ad_type = $this->option( 'wordads_house' ) ? 'house' : 'iponweb';
    		return $content . $this->get_ad( 'belowpost', $ad_type );
    
  • /modules/wordads/class-wordads.php line 520
    		 * @since 4.5.0
    		 *
    		 * @param bool true Should the in post unit be disabled. Default to false.
    		 */
    		$disable = apply_filters( 'wordads_inpost_disable', false );
    		if ( $disable ) {
    			return $content;
    		}
    
    		$ad_type  = $this->option( 'wordads_house' ) ? 'house' : 'iponweb';
    		$location = 'shortcode';