mwform_post_content_

mwform_post_content_

Hook Type: filter

See hook in core

Displaying hooks found in version: mw-wp-form.5.1.0

apply_filters('mwform_post_content_') is found 2 times:

  • /classes/controllers/class.main.php line 365
    		$post    = get_post( $form_id );
    		setup_postdata( $post );
    		$content = apply_filters( 'mwform_post_content_raw_' . $this->Data->get_form_key(), get_the_content(), $this->Data );
    		// $content = $this->_wpautop( $content );
    		$content = apply_filters( 'mwform_post_content_' . $this->Data->get_form_key(), $content, $this->Data );
    		wp_reset_postdata();
    
    		// ファイルアップロード可能な name を制限する
    		$permitted_file_keys = array();
    		preg_match_all(
    			'|\[mwform_image [^\]]*?\]|ms',
    
  • /classes/services/class.exec-shortcode.php line 186
    		setup_postdata( $post );
    		// @todo 共通化 main._file_upload()
    		$content = apply_filters( 'mwform_post_content_raw_' . $this->form_key, get_the_content(), $this->Data );
    		$content = $this->_wpautop( $content );
    		$content = apply_filters( 'mwform_post_content_' . $this->form_key, $content, $this->Data );
    		$content = sprintf( '[mwform]%s[/mwform]', $content );
    		wp_reset_postdata();
    		return $content;
    	}
    
    	/**