Description
Usage
md5_hasher::process();Parameters
Returns
voidSource
File name: oik-shortcodes/admin/set_md5_hash.phpLines:
1 to 19 of 19
function process() { $this->components = $this->load_components(); $this->parsed_source = $this->load_parsed_source(); $this->sourcerefs = $this->load_files_classes_apis(); oiksc_preload_content(); foreach ( $this->parsed_source as $post ) { $id = $post->ID; $md5_hash = get_post_meta( $id, "_oik_md5_hash", true ); if ( $md5_hash ) { echo "$id:$md5_hash:OK" . PHP_EOL; } else { $sourceref = get_post_meta( $id, "_oik_sourceref", true ); echo "$id:$md5_hash:$sourceref" . PHP_EOL; $this->build_hash( $post, $id, $sourceref ); } } }View on GitHub
Invoked by
Calls
1 to 5 of 5
