| Server IP : 104.21.21.239 / Your IP : 216.73.216.11 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/old/app/Lite/Main/ |
Upload File : |
<?php
namespace AIOSEO\Plugin\Lite\Main;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
use AIOSEO\Plugin\Common\Main as CommonMain;
/**
* Filters class with methods that are called.
*
* @since 4.0.0
*/
class Filters extends CommonMain\Filters {
/**
* Registers our row meta for the plugins page.
*
* @since 4.0.0
*
* @param array $actions List of existing actions.
* @param string $pluginFile The plugin file.
* @return array List of action links.
*/
public function pluginRowMeta( $actions, $pluginFile = '' ) {
$actionLinks = [
'settings' => [
// Translators: This is an action link users can click to open a feature request.
'label' => __( 'Suggest a Feature', 'all-in-one-seo-pack' ),
'url' => aioseo()->helpers->utmUrl( AIOSEO_MARKETING_URL . 'suggest-a-feature/', 'plugin-row-meta', 'Feature' ),
]
];
return $this->parseActionLinks( $actions, $pluginFile, $actionLinks );
}
/**
* Registers our action links for the plugins page.
*
* @since 4.0.0
*
* @param array $actions List of existing actions.
* @param string $pluginFile The plugin file.
* @return array List of action links.
*/
public function pluginActionLinks( $actions, $pluginFile = '' ) {
$actionLinks = [
'settings' => [
'label' => __( 'SEO Settings', 'all-in-one-seo-pack' ),
'url' => get_admin_url( null, 'admin.php?page=aioseo-settings' ),
],
'support' => [
// Translators: This is an action link users can click to open our premium support.
'label' => __( 'Support', 'all-in-one-seo-pack' ),
'url' => aioseo()->helpers->utmUrl( AIOSEO_MARKETING_URL . 'contact/', 'plugin-action-links', 'Support' ),
],
'docs' => [
// Translators: This is an action link users can click to open our general documentation page.
'label' => __( 'Documentation', 'all-in-one-seo-pack' ),
'url' => aioseo()->helpers->utmUrl( AIOSEO_MARKETING_URL . 'docs/', 'plugin-action-links', 'Documentation' ),
],
'proupgrade' => [
// Translators: This is an action link users can click to purchase a license for All in One SEO Pro.
'label' => __( 'Upgrade to Pro', 'all-in-one-seo-pack' ),
'url' => apply_filters( 'aioseo_upgrade_link', aioseo()->helpers->utmUrl( AIOSEO_MARKETING_URL . 'lite-upgrade/', 'plugin-action-links', 'Upgrade', false ) ),
]
];
if ( isset( $actions['edit'] ) ) {
unset( $actions['edit'] );
}
return $this->parseActionLinks( $actions, $pluginFile, $actionLinks, 'before' );
}
}