芝麻web文件管理V1.00
编辑当前文件:/home/jambtst2015/public_html/greymouthconsulting.com/wp-content/plugins/gutentor/gutentor.php
total_comments; } /** * Create API fields for additional info * * @since 1.0.9 */ function gutentor_register_rest_fields() { // Add comment info. register_rest_field( 'post', 'gutentor_comment', array( 'get_callback' => 'gutentor_count_comments', 'update_callback' => null, 'schema' => null, ) ); } add_action( 'rest_api_init', 'gutentor_register_rest_fields' ); /** * Begins execution of the plugin. * * Since everything within the plugin is registered via hooks, * then kicking off the plugin from this point in the file does * not affect the page life cycle. * * @since 1.0.0 */ if ( ! function_exists( 'run_gutentor' ) ) { function run_gutentor() { return Gutentor::instance(); } run_gutentor()->run(); }