Wordpress - Plugins and Extensibility
Given this code snippet in a WordPress plugin:
What will happen if
add_action('init', function() {
if (function_exists('some_plugin_function')) {
some_plugin_function();
} else {
error_log('Function missing');
}
});What will happen if
some_plugin_function is removed by another plugin?