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
| <?php | |
| //* Please do NOT include the opening php tag, except of course if you're starting with a blank file | |
| // display the base price of the ticket in the ticket selector without Price Modifiers. | |
| add_filter( 'FHEE__ticket_selector_chart_template__ticket_price', 'change_ee_ticket_selector_base_price_display', 10, 2 ); | |
| function change_ee_ticket_selector_base_price_display( $ticket_price, $ticket ) { | |
| $x = $ticket->base_price(); |
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
| '\'tis', | |
| '\'twas', | |
| 'a', | |
| 'a\'s', | |
| 'able', | |
| 'about', | |
| 'above', | |
| 'according', | |
| 'accordingly', | |
| 'across', |
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
| <?php | |
| /** | |
| * After creating the necessary table, run with `wp eval-file plugin-stats.php` | |
| */ | |
| use WP_CLI\Utils; | |
| global $wpdb; | |
| $original_request_url = 'https://wordpress.org/plugins/wp-json/plugins/v1/query-plugins?s=&posts_per_page=100'; |
OlderNewer