This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\vagrant-local>vagrant up | |
__ __ __ __ | |
\ V\ V\ V / Varying Vagrant Vagrants | |
\_/\_/\_/ v2.2.1-git::master | |
Docs: https://varyingvagrantvagrants.org/ | |
Contribute: https://github.com/varying-vagrant-vagrants/vvv | |
Dashboard: http://vvv.test | |
Bringing machine 'default' up with 'virtualbox' provider... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function custom_filter_notifications_get_registered_components( $component_names = array() ) { | |
// Force $component_names to be an array | |
if ( ! is_array( $component_names ) ) { | |
$component_names = array(); | |
} | |
// Add 'insert_post_comment' component to registered components array | |
array_push( $component_names, 'insert_post_comment' ); |
OlderNewer