From a3589dd7a4c094fcf4f1a97b8a4d6c5a99c14b38 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Thu, 26 Nov 2020 11:18:21 +0000 Subject: [PATCH] wordpress#63 Add action parameter to PCP shortcode --- CRM/Core/Form/ShortCode.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CRM/Core/Form/ShortCode.php b/CRM/Core/Form/ShortCode.php index 3a2b084b5f..6b6344a857 100644 --- a/CRM/Core/Form/ShortCode.php +++ b/CRM/Core/Form/ShortCode.php @@ -128,6 +128,14 @@ class CRM_Core_Form_ShortCode extends CRM_Core_Form { 'register' => ts('Event Registration Page'), ], ], + [ + 'key' => 'action', + 'components' => ['pcp'], + 'options' => [ + 'info' => ts('Info Page'), + 'transact' => ts('Contribution Page'), + ], + ], [ 'key' => 'mode', 'components' => ['contribution', 'pcp', 'event'], -- 2.25.1