We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
0 parents commit 333da79Copy full SHA for 333da79
.github/workflows/pr-playground-preview.yml
@@ -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
@@ -0,0 +1,11 @@
+<?php
+/*
+Plugin Name: Mock Plugin
+Description: A simple mock WordPress plugin for testing purposes.
+Version: 1.0.0
+Author: Your Name
+*/
+add_action( 'init', function() {
+ // Simple initialization logic can go here.
+} );
0 commit comments