You appear to be a bot. Output may be restricted
Description
Usage
api_call_mapper::convert_all_api_calls();
Parameters
Returns
voidSource
File name: oik-shortcodes/admin/set_oik_api_calls.phpLines:
1 to 19 of 19
function convert_all_api_calls( ) { $total = count( $this->api_calls ); $count = 0; foreach ( $this->api_calls as $meta_data ) { $count++; echo "$count/$total "; $meta_value = $meta_data->meta_value; if ( is_numeric( $meta_value ) ) { // That's great echo "OK" . PHP_EOL; } elseif ( $meta_value == "__construct" ) { echo "Ho hum $meta_value" . PHP_EOL; } else { echo "Need to convert $meta_value" . PHP_EOL; $this->convert( $meta_data ); } } }View on GitHub