Skip to content

Commit 333da79

Browse files
committed
initial commit
0 parents  commit 333da79

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: PR Playground Preview
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
- reopened
9+
- edited
10+
11+
jobs:
12+
playground-preview:
13+
name: Update Playground Preview
14+
permissions:
15+
contents: read
16+
pull-requests: write
17+
issues: write
18+
uses: Automattic/preview-button/.github/workflows/playground-preview.yml@main
19+
with:
20+
preview-mode: comment
21+
plugin-path: .

plugin.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
/*
3+
Plugin Name: Mock Plugin
4+
Description: A simple mock WordPress plugin for testing purposes.
5+
Version: 1.0.0
6+
Author: Your Name
7+
*/
8+
9+
add_action( 'init', function() {
10+
// Simple initialization logic can go here.
11+
} );

0 commit comments

Comments
 (0)