Skip to content

Commit

Permalink
Merge pull request #1097 from equalizedigital/feature/landingpage-cpt
Browse files Browse the repository at this point in the history
fallback
  • Loading branch information
tronsymphony authored Mar 6, 2024
2 parents f33a1eb + e1a5efc commit 7e4f8ea
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion inc/helper-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,13 @@ function slp_append_superscript( $content, $superscript_text ) {


function get_company_name_shortcode($atts) {
$fallback = shortcode_atts( array(
'fallback' => 'eee',
), $atts );


// Default message
$message = "For all fans, ...";
$message = esc_attr($fallback['fallback']);

if(isset($_GET['landing_page'])) {
$page_slug = sanitize_text_field($_GET['landing_page']);
Expand Down

0 comments on commit 7e4f8ea

Please sign in to comment.