PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.17.0
GiveWP – Donation Plugin and Fundraising Platform v4.17.0
4.17.0 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 All 256 releases
← All changes | includes/price-functions.php +3 -3 2.3.04.17.0 View file →
@@ -3,9 +3,9 @@
3 3 * Price Functions
4 4 *
5 5 * @package Give
6 6 * @subpackage Functions
7 - * @copyright Copyright (c) 2016, WordImpress
7 + * @copyright Copyright (c) 2016, GiveWP
8 8 * @license https://opensource.org/licenses/gpl-license GNU Public License
9 9 * @since 1.0
10 10 */
11 11
@@ -65,14 +65,14 @@
65 65 *
66 66 * @return array Variable prices
67 67 */
68 68 function give_get_variable_price_ids( $form_id = 0 ) {
69 - if( ! ( $prices = give_get_variable_prices( $form_id ) ) ) {
69 + if ( ! ( $prices = give_get_variable_prices( $form_id ) ) ) {
70 70 return array();
71 71 }
72 72
73 73 $price_ids = array();
74 - foreach ( $prices as $price ){
74 + foreach ( $prices as $price ) {
75 75 $price_ids[] = $price['_give_id']['level_id'];
76 76 }
77 77
78 78 return $price_ids;