PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.9
GiveWP – Donation Plugin and Fundraising Platform v4.16.9
4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 All 255 releases
← All changes | includes/admin/tools/class-settings-api.php +19 -16 2.3.04.16.9 View file →
@@ -3,9 +3,9 @@
3 3 * Give Settings Page/Tab
4 4 *
5 5 * @package Give
6 6 * @subpackage Classes/Give_Settings_API
7 - * @copyright Copyright (c) 2016, WordImpress
7 + * @copyright Copyright (c) 2016, GiveWP
8 8 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
9 9 * @since 1.8
10 10 */
11 11
@@ -46,25 +46,28 @@
46 46 * @return array
47 47 */
48 48 public function get_settings() {
49 49 // Get settings.
50 - $settings = apply_filters( 'give_settings_api', array(
50 + $settings = apply_filters(
51 + 'give_settings_api',
51 52 array(
52 - 'id' => 'give_tools_api',
53 - 'type' => 'title',
54 - 'table_html' => false
55 - ),
56 - array(
57 - 'id' => 'api',
58 - 'name' => esc_html__( 'API', 'give' ),
59 - 'type' => 'api',
60 - ),
61 - array(
62 - 'id' => 'give_tools_api',
63 - 'type' => 'sectionend',
64 - 'table_html' => false
53 + array(
54 + 'id' => 'give_tools_api',
55 + 'type' => 'title',
56 + 'table_html' => false,
57 + ),
58 + array(
59 + 'id' => 'api',
60 + 'name' => esc_html__( 'API', 'give' ),
61 + 'type' => 'api',
62 + ),
63 + array(
64 + 'id' => 'give_tools_api',
65 + 'type' => 'sectionend',
66 + 'table_html' => false,
67 + ),
65 68 )
66 - ));
69 + );
67 70
68 71 /**
69 72 * Filter the settings.
70 73 *