|
@@ 370-376 (lines=7) @@
|
| 367 |
|
public static function iframe_code_button($permalink_string, $id, $new_title = '', $new_slug = '') |
| 368 |
|
{ |
| 369 |
|
// todo add doing_it_wrong() notice during next major version |
| 370 |
|
if ( |
| 371 |
|
\EE_Registry::instance()->REQ->get('page') === 'espresso_events' |
| 372 |
|
&& \EE_Registry::instance()->REQ->get('action') === 'edit' |
| 373 |
|
) { |
| 374 |
|
$iframe_embed_button = \EED_Ticket_Selector::getIframeEmbedButton(); |
| 375 |
|
$iframe_embed_button->addEventEditorIframeEmbedButton(); |
| 376 |
|
} |
| 377 |
|
return ''; |
| 378 |
|
} |
| 379 |
|
|
|
@@ 448-454 (lines=7) @@
|
| 445 |
|
public static function load_tckt_slctr_assets_admin() |
| 446 |
|
{ |
| 447 |
|
// todo add doing_it_wrong() notice during next major version |
| 448 |
|
if ( |
| 449 |
|
\EE_Registry::instance()->REQ->get( 'page' ) === 'espresso_events' |
| 450 |
|
&& \EE_Registry::instance()->REQ->get( 'action' ) === 'edit' |
| 451 |
|
) { |
| 452 |
|
$iframe_embed_button = \EED_Ticket_Selector::getIframeEmbedButton(); |
| 453 |
|
$iframe_embed_button->embedButtonAssets(); |
| 454 |
|
} |
| 455 |
|
} |
| 456 |
|
|
| 457 |
|
|