mwform_post_content_raw_

mwform_post_content_raw_

Hook Type: filter

See hook in core

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

apply_filters('mwform_post_content_raw_') is found 2 times:

  • /classes/controllers/class.main.php line 363
    		global $post;
    		$form_id = MWF_Functions::get_form_id_from_form_key( $this->Data->get_form_key() );
    		$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();
    
  • /classes/services/class.exec-shortcode.php line 184
    		global $post;
    		$post = get_post( $this->form_id );
    		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;
    	}