Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/wp-content/plugins/jetpack/modules/ |
Upload File : |
<?php /** * Module Name: Blaze * Module Description: Grow your audience by promoting your content across Tumblr and WordPress.com. * Sort Order: 22 * Recommendation Order: 12 * First Introduced: 12.3 * Requires Connection: Yes * Auto Activate: Yes * Module Tags: Traffic, Social * Additional Search Queries: advertising, ads * * @package automattic/jetpack */ use Automattic\Jetpack\Blaze; Blaze::init(); /** * Remove post row Blaze actions in the Jetpack plugin. * Keep them on for products. * * @param bool $are_quick_links_enabled Should Blaze row actions be enabled. * @param WP_Post $post The current post in the post list table. * * @return bool */ function jetpack_blaze_post_row_actions_disable( $are_quick_links_enabled, $post ) { if ( 'product' !== $post->post_type ) { return false; } return $are_quick_links_enabled; } add_filter( 'jetpack_blaze_post_row_actions_enable', 'jetpack_blaze_post_row_actions_disable', 10, 2 );