' . "\n"; } add_action( 'wp_head', 'acsseo_maybe_print_credit', 1 ); /** * Tell site owners what this plugin stores, for their privacy policy. * * @return void */ function acsseo_privacy_policy_content() { if ( ! function_exists( 'wp_add_privacy_policy_content' ) ) { return; } $content = '

' . wp_kses_post( __( 'ACS SEO Plus counts page views on this site. It does not set cookies, does not store IP addresses and does not send anything to a third party. To tell one visit from another within the same day it keeps a short-lived, one-way hash of the visitor address and browser string in the site cache; the hash is discarded after 24 hours and cannot be turned back into the original values. View counts are stored as totals per post, never as a log of individual visits.', 'acs-seo-plus' ) ) . '

'; wp_add_privacy_policy_content( 'ACS SEO Plus', $content ); } add_action( 'admin_init', 'acsseo_privacy_policy_content' ); /** * Load the bundled translations from the languages folder. * * @return void */ function acsseo_load_textdomain() { // phpcs:ignore PluginCheck.CodeAnalysis.DiscouragedFunctions.load_plugin_textdomainFound -- Loads the translations bundled in /languages; WordPress only loads language packs from translate.wordpress.org on its own. load_plugin_textdomain( 'acs-seo-plus', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); } add_action( 'init', 'acsseo_load_textdomain' );