|
@@ 353-359 (lines=7) @@
|
| 350 |
|
public static function iframe_code_button($permalink_string, $id, $new_title = '', $new_slug = '') |
| 351 |
|
{ |
| 352 |
|
// todo add doing_it_wrong() notice during next major version |
| 353 |
|
if ( |
| 354 |
|
\EE_Registry::instance()->REQ->get('page') === 'espresso_events' |
| 355 |
|
&& \EE_Registry::instance()->REQ->get('action') === 'edit' |
| 356 |
|
) { |
| 357 |
|
$iframe_embed_button = \EED_Ticket_Selector::getIframeEmbedButton(); |
| 358 |
|
$iframe_embed_button->addEventEditorIframeEmbedButton(); |
| 359 |
|
} |
| 360 |
|
return ''; |
| 361 |
|
} |
| 362 |
|
|
|
@@ 431-437 (lines=7) @@
|
| 428 |
|
public static function load_tckt_slctr_assets_admin() |
| 429 |
|
{ |
| 430 |
|
// todo add doing_it_wrong() notice during next major version |
| 431 |
|
if ( |
| 432 |
|
\EE_Registry::instance()->REQ->get( 'page' ) === 'espresso_events' |
| 433 |
|
&& \EE_Registry::instance()->REQ->get( 'action' ) === 'edit' |
| 434 |
|
) { |
| 435 |
|
$iframe_embed_button = \EED_Ticket_Selector::getIframeEmbedButton(); |
| 436 |
|
$iframe_embed_button->embedButtonAssets(); |
| 437 |
|
} |
| 438 |
|
} |
| 439 |
|
|
| 440 |
|
|