Add some comments

This commit is contained in:
Corey McKrill 2019-10-04 12:22:26 -07:00
parent 1b39994280
commit 34c91bbc9b
No known key found for this signature in database
GPG key ID: C2C0746F7BF17E38
4 changed files with 9 additions and 3 deletions

View file

@ -196,6 +196,8 @@ function has_required_pledge_meta( array $submission ) {
/**
* Save the pledge data.
*
* This only fires when the pledge post itself is created or updated.
*
* @param int $pledge_id
* @param WP_Post $pledge
*/

View file

@ -5,6 +5,8 @@
* or two, we may want to create a subfolder and have a separate file for each block.
*/
// TODO are we actually using any of this?
namespace WordPressDotOrg\FiveForTheFuture\Blocks;
use WordPressDotOrg\FiveForTheFuture;
use WordPressDotOrg\FiveForTheFuture\Pledge;