• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress a2z

WordPress a2z

WordPress Dynamic API Reference

  • Home
  • Plugins
  • Themes
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / Akismet_Admin::init() –

You appear to be a bot. Output may be restricted

Description

Usage

Akismet_Admin::init();

Parameters

Returns

void

Source

File name: akismet/class.akismet-admin.php


Lines:

1 to 14 of 14
  public static function init() {
    if ( ! self::$initiated ) {
      self::init_hooks();
    }

    if ( isset( $_POST['action'] ) && $_POST['action'] == 'enter-key' ) {
      self::enter_api_key();
    }

    if ( ! empty( $_GET['akismet_comment_form_privacy_notice'] ) && empty( $_GET['settings-updated']) ) {
      self::set_form_privacy_notice_option( $_GET['akismet_comment_form_privacy_notice'] );
    }
  }
 

 View on GitHub View on Trac

Published: 25th November 2019 | Last updated: 25th November 2019

Primary Sidebar

Information

Function name: Akismet_Admin::init
Class ref: Akismet_Admin
Plugin ref: Akismet
Version: 4.1.2
Sourcefile: class.akismet-admin.php
File ref: class.akismet-admin.php
Deprecated?: No
API Letters: A,I

Footer

WordPress a2z WordPress a2z
WordPress Dynamic API Reference
WordPress 5.3. PHP: 7.3.7
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  wp-a2z.org
© Copyright WordPress a2z 2014-2019. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites