Commit inicial - WordPress Análisis de Precios Unitarios

- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-11-03 21:04:30 -06:00
commit a22573bf0b
24068 changed files with 4993111 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
<?php
/**
* Silence is golden.
*/

View File

@@ -0,0 +1,74 @@
<?php
/**
* This interface defines a contract for implementing different ad types within plugin.
*
* @package AdvancedAds
* @author Advanced Ads <info@wpadvancedads.com>
* @since 1.48.0
*/
namespace AdvancedAds\Interfaces;
defined( 'ABSPATH' ) || exit;
/**
* Interface for Ad Type.
*/
interface Ad_Type {
/**
* Get the unique identifier (ID) of the ad type.
*
* @return string The unique ID of the ad type.
*/
public function get_id(): string;
/**
* Get the class name of the object as a string.
*
* @return string
*/
public function get_classname(): string;
/**
* Get the title or name of the ad type.
*
* @return string The title of the ad type.
*/
public function get_title(): string;
/**
* Get a description of the ad type.
*
* @return string The description of the ad type.
*/
public function get_description(): string;
/**
* Check if this ad type requires premium.
*
* @return bool True if premium is required; otherwise, false.
*/
public function is_premium(): bool;
/**
* Get the URL for upgrading to this ad type.
*
* @return string The upgrade URL for the ad type.
*/
public function get_upgrade_url(): string;
/**
* Get the URL for upgrading to this ad type.
*
* @return string The upgrade URL for the ad type.
*/
public function get_image(): string;
/**
* Check if this ad type has size parameters.
*
* @return bool True if has size parameters; otherwise, false.
*/
public function has_size(): bool;
}

View File

@@ -0,0 +1,25 @@
<?php
/**
* The interface to provide a contract for Ad.
*
* @package AdvancedAds
* @author Advanced Ads <info@wpadvancedads.com>
* @since 1.48.0
*/
namespace AdvancedAds\Interfaces;
defined( 'ABSPATH' ) || exit;
/**
* Interfaces Ad.
*/
interface Ad_Interface {
/**
* Prepare output for frontend.
*
* @return string
*/
public function prepare_frontend_output(): string;
}

View File

@@ -0,0 +1,60 @@
<?php
/**
* This interface defines a contract for implementing different group types within plugin.
*
* @package AdvancedAds
* @author Advanced Ads <info@wpadvancedads.com>
* @since 1.47.0
*/
namespace AdvancedAds\Interfaces;
defined( 'ABSPATH' ) || exit;
/**
* Interface for Group Type.
*/
interface Group_Type {
/**
* Get the unique identifier (ID) of the group type.
*
* @return string The unique ID of the group type.
*/
public function get_id(): string;
/**
* Get the title or name of the group type.
*
* @return string The title of the group type.
*/
public function get_title(): string;
/**
* Get a description of the group type.
*
* @return string The description of the group type.
*/
public function get_description(): string;
/**
* Check if this group type requires premium.
*
* @return bool True if premium is required; otherwise, false.
*/
public function is_premium(): bool;
/**
* Get the URL for upgrading to this group type.
*
* @return string The upgrade URL for the group type.
*/
public function get_image(): string;
/**
* Get the class name of the object as a string.
*
* @return string
*/
public function get_classname(): string;
}

View File

@@ -0,0 +1,18 @@
<?php
/**
* The interface to provide a contract for Group.
*
* @package AdvancedAds
* @author Advanced Ads <info@wpadvancedads.com>
* @since 1.48.0
*/
namespace AdvancedAds\Interfaces;
defined( 'ABSPATH' ) || exit;
/**
* Interfaces Group.
*/
interface Group_Interface {
}

View File

@@ -0,0 +1,67 @@
<?php
/**
* This interface defines a contract for implementing importers.
*
* @package AdvancedAds
* @author Advanced Ads <info@wpadvancedads.com>
* @since 1.47.0
*/
namespace AdvancedAds\Interfaces;
defined( 'ABSPATH' ) || exit;
/**
* Interface for Importers.
*/
interface Importer {
/**
* Get the unique identifier (ID) of the importer.
*
* @return string The unique ID of the importer.
*/
public function get_id(): string;
/**
* Get the title or name of the importer.
*
* @return string The title of the importer.
*/
public function get_title(): string;
/**
* Get a description of the importer.
*
* @return string The description of the importer.
*/
public function get_description(): string;
/**
* Get the icon to this importer.
*
* @return string The icon for the importer.
*/
public function get_icon(): string;
/**
* Detect the importer in database.
*
* @return bool True if detected; otherwise, false.
*/
public function detect(): bool;
/**
* Render form.
*
* @return void
*/
public function render_form(): void;
/**
* Import data.
*
* @return WP_Error|string
*/
public function import();
}

View File

@@ -0,0 +1,52 @@
<?php
/**
* The interface to provide a contract for Module.
*
* @package AdvancedAds
* @author Advanced Ads <info@wpadvancedads.com>
* @since 1.48.0
*/
namespace AdvancedAds\Interfaces;
defined( 'ABSPATH' ) || exit;
/**
* Interfaces Module.
*/
interface Module_Interface {
/**
* Get the unique identifier (ID) of the module.
*
* @return string The unique ID of the module.
*/
public function get_name(): string;
/**
* Get the title or name of the module.
*
* @return string The title of the module.
*/
public function get_title(): string;
/**
* Get a description of the module.
*
* @return string The description of the module.
*/
public function get_description(): string;
/**
* Get the URL for icon to this module.
*
* @return string The icon URL for the module.
*/
public function get_image(): string;
/**
* Load the module.
*
* @return void
*/
public function load(): void;
}

View File

@@ -0,0 +1,75 @@
<?php
/**
* This interface defines a contract for implementing different placement types within plugin.
*
* @package AdvancedAds
* @author Advanced Ads <info@wpadvancedads.com>
* @since 1.47.0
*/
namespace AdvancedAds\Interfaces;
defined( 'ABSPATH' ) || exit;
/**
* Interface for Placement Type.
*/
interface Placement_Type {
/**
* Get the unique identifier (ID) of the placement type.
*
* @return string The unique ID of the placement type.
*/
public function get_id(): string;
/**
* Get the class name of the object as a string.
*
* @return string
*/
public function get_classname(): string;
/**
* Get the title or name of the placement type.
*
* @return string The title of the placement type.
*/
public function get_title(): string;
/**
* Get a description of the placement type.
*
* @return string The description of the placement type.
*/
public function get_description(): string;
/**
* Check if this placement type requires premium.
*
* @return bool True if premium is required; otherwise, false.
*/
public function is_premium(): bool;
/**
* Get the URL for upgrading to this placement type.
*
* @return string The upgrade URL for the placement type.
*/
public function get_image(): string;
/**
* Get order number for this placement type.
* order set in multiple of 5 to allow adding new placements in between.
*
* @return int The order number.
*/
public function get_order(): int;
/**
* Get options for this placement type.
*
* @return array The options array.
*/
public function get_options(): array;
}

View File

@@ -0,0 +1,18 @@
<?php
/**
* The interface to provide a contract for Placement.
*
* @package AdvancedAds
* @author Advanced Ads <info@wpadvancedads.com>
* @since 1.48.0
*/
namespace AdvancedAds\Interfaces;
defined( 'ABSPATH' ) || exit;
/**
* Interfaces Placement.
*/
interface Placement_Interface {
}