This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<body> | |
<style> | |
circle, rect { | |
stroke: #000; | |
fill-opacity: .1; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( !post_password_required() ) { | |
// Display your product | |
} else { | |
echo get_the_password_form(); | |
} | |
// via https://wordpress.org/support/topic/protect-a-product-by-password | |
function password_visibility(){ | |
$post = get_post(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sequence: | |
- data: | |
message: | | |
Test 1: Single channel plain text test message | |
target: | |
- "#test" | |
- "#test1" | |
data: | |
blocks: [] | |
action: notify.slackworkspace |