• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress develop tests

WordPress develop tests

WordPress develop tests a2z

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / Tests_Admin_Includes_Schema::data_populate_options() –

You appear to be a bot. Output may be restricted

Description

Usage

Tests_Admin_Includes_Schema::data_populate_options();

Parameters

Returns

void

Source

File name: wordpress-develop-tests/phpunit/tests/admin/includesSchema.php


Lines:

1 to 64 of 64
  public function data_populate_options() {
    return array(
      array(
        array(),
        array(
          // Random options to check.
          'posts_per_rss'    => 10,
          'rss_use_excerpt'  => 0,
          'mailserver_url'   => 'mail.example.com',
          'mailserver_login' => 'login@example.com',
          'mailserver_pass'  => 'password',
        ),
      ),
      array(
        array(
          'posts_per_rss'   => 7,
          'rss_use_excerpt' => 1,
        ),
        array(
          // Random options to check.
          'posts_per_rss'    => 7,
          'rss_use_excerpt'  => 1,
          'mailserver_url'   => 'mail.example.com',
          'mailserver_login' => 'login@example.com',
          'mailserver_pass'  => 'password',
        ),
      ),
      array(
        array(
          'custom_option' => '1',
        ),
        array(
          // Random options to check.
          'custom_option'    => '1',
          'posts_per_rss'    => 10,
          'rss_use_excerpt'  => 0,
          'mailserver_url'   => 'mail.example.com',
          'mailserver_login' => 'login@example.com',
          'mailserver_pass'  => 'password',
        ),
      ),
      array(
        array(
          'use_quicktags' => '1',
        ),
        array(
          // This option is on a blacklist and should never exist.
          'use_quicktags' => false,
        ),
      ),
      array(
        array(
          'rss_0123456789abcdef0123456789abcdef' => '1',
          'rss_0123456789abcdef0123456789abcdef_ts' => '1',
        ),
        array(
          // These options would be obsolete magpie cache data and should never exist.
          'rss_0123456789abcdef0123456789abcdef' => false,
          'rss_0123456789abcdef0123456789abcdef_ts' => false,
        ),
      ),
    );
  }
 

 View on GitHub

Published: 26th November 2019 | Last updated: 27th November 2019

Primary Sidebar

Information

Function name: Tests_Admin_Includes_Schema::data_populate_options
Class ref: Tests_Admin_Includes_Schema
Plugin ref: WordPress develop tests
Version: 5.3
Sourcefile: phpunit/tests/admin/includesSchema.php
File ref: phpunit/tests/admin/includesSchema.php
Deprecated?: No
API Letters: A,D,I,S,T

Footer

WordPress develop tests
WordPress develop tests
WordPress develop tests a2z
WordPress 5.6
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:  develop.wp-a2z.org
© Copyright WordPress develop tests 2014-2021. All rights reserved.


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

  • Home
  • Blog
  • Sitemap
  • Sites