Wordpress plugins
Emoji Settings

Emoji Settings

Version : 1.1.0
Tested up to : 4.8.2
Number of download : 5913
Author : Sybre Waaijer
Average rating : 5 / 5 on 7 votes 7 votes, 5 avg.rating

Screenshots

Emoji Settings
Emoji Settings
Emoji Settings
Emoji Settings

Emoji Settings Simply enable or disable emojis with an option. The option can be found under example.com/wp-admin/options-writing.php. Works on both Multsite networks and Single sites. Enabled by default This plugin has been written for WordPress Multisite with a WordPress.com like environment in mind. Because of this, we want to give users full functionality and awesomeness with the least configuration. If a user wishes to disable emojis for their site, they can simply do so in their dashboard. This plugin also fixes incorrect Character Encoding on WordPress installations installed prior to 4.3.0 when emojis are disabled. Translating You can submit your own translations through the sidebar on this page. Filters There are two filters for this plugin, One filter disables the plugin completely; the other filter changes the default settings of Emoji Settings. Add any of these filter functions to your theme functions.php or template file, or a separate plugin. //* Prevent the plugin from loading add_action( 'plugins_loaded', 'my_emoji_settings_disable', 4 ); function my_emoji_settings_disable() { add_filter( 'cw_emoji_settings_load', '__return_false' ); } //* Modify Default Emoji settings, example add_filter( 'the_emoji_options', 'my_default_emoji_settings' ); function my_default_emoji_settings( $options ) { // Set this to 1 or 0 to enable or disable Emoji output by default. Great for multisite installations. // Default is 1. $options['default'] = '0'; return $options; } //* Override the emoji setting and disable output, example add_filter( 'the_emoji_options', 'my_disable_emoji' ); function my_disable_emoji( $options ) { // Set this to true to disable emoji output anyway regardless of other settings. Set to false to rely on the option in the Writing Settings page. // Default is false // Example: Disable emojis on home page regardless of settings. $options['disable'] = true; return $options; } //* Override the emoji setting and enable output, example add_filter( 'the_emoji_options', 'my_postpage_emoji_function' ); function my_postpage_emoji_function( $options ) { // Set this to true to enable emoji output anyway. Set to false to rely on the option in the Writing Settings page. // Default is false // Example: Enable emoji's on Post type pages regardless of settings. $options['enable'] = true; return $options; }

Download now