You appear to be a bot. Output may be restricted
Description
Update the parsed object
The object has been parsed again so we need to update it
Usage
$ID = oiksc_parsed_source::update_parsed_object( $content, $filename );
Parameters
- $content
- ( string ) required – the new content
- $filename
- ( string ) required – the parsed file full name
Returns
ID the post ID of the updated post
Source
File name: oik-shortcodes/classes/class-oiksc-parsed-source.php
Lines:
1 to 9 of 9
function update_parsed_object( $content, $filename ) { bw_backtrace( BW_TRACE_VERBOSE ); bw_trace2( null, null, true, BW_TRACE_DEBUG ); $this->po_post->post_content = $content; $_POST['_oik_parse_count'] = filemtime( $filename ); $_POST['_oik_md5_hash'] = $this->latest_md5_hash; wp_update_post( $this->po_post ); return( $this->po_post->ID ); }