Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > content-control > > inc > functions
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
back-compat.php | File | 4300 bytes | October 01 2023 13:39:02. | |
compatibility.php | File | 6294 bytes | June 21 2024 13:00:36. | |
content.php | File | 3218 bytes | October 26 2023 13:40:28. | |
developers.php | File | 10976 bytes | June 21 2024 13:00:36. | |
globals.php | File | 1889 bytes | June 21 2024 13:00:36. | |
install.php | File | 2216 bytes | March 11 2025 14:19:36. | |
options.php | File | 4105 bytes | August 18 2024 09:36:48. | |
post-restrictions.php | File | 900 bytes | June 21 2024 13:00:36. | |
protections.php | File | 2250 bytes | September 18 2023 05:47:10. | |
query.php | File | 13898 bytes | March 15 2025 12:03:42. | |
restrictions.php | File | 6168 bytes | June 21 2024 13:00:36. | |
rule-callbacks.php | File | 20563 bytes | May 09 2025 02:30:24. | |
rules.php | File | 2539 bytes | May 09 2025 02:30:24. | |
term-restrictions.php | File | 905 bytes | June 21 2024 13:00:36. | |
upgrades.php | File | 4835 bytes | December 08 2023 15:26:30. | |
utils.php | File | 584 bytes | March 18 2024 03:33:26. | |
widgets.php | File | 1454 bytes | December 08 2023 15:26:30. |
<?php /** * Global (non namespaced) functions. * * @package ContentControl */ use function ContentControl\plugin; defined( 'ABSPATH' ) || exit; /** * Easy access to all plugin services from the container. * * @see \ContentControl\plugin_instance * * @param string|null $service_or_config Key of service or config to fetch. * @return \ContentControl\Plugin\Core|mixed */ function content_control( $service_or_config = null ) { return plugin( $service_or_config ); } /** * Get a value from the globals service. * * @param string $key Context key. * @param mixed $default_value Default value. * * @return mixed */ function get_global( $key, $default_value = null ) { return plugin( 'globals' )->get( $key, $default_value ); } /** * Set a value in the globals service. * * @param string $key Context key. * @param mixed $value Context value. * * @return void */ function set_global( $key, $value ) { plugin( 'globals' )->set( $key, $value ); } /** * Reset a value in the globals service. * * @param string $key Context key. * * @return void */ function reset_global( $key ) { plugin( 'globals' )->reset( $key ); } /** * Reset all values in the globals service. * * @return void */ function reset_all_globals() { plugin( 'globals' )->reset_all(); } /** * Push to global stack. * * @param string $key Context key. * @param mixed $value Context value. * * @return void */ function push_to_global( $key, $value ) { plugin( 'globals' )->push_to_stack( $key, $value ); } /** * Pop from globals stack. * * @param string $key Context key. * * @return mixed */ function pop_from_global( $key ) { return plugin( 'globals' )->pop_from_stack( $key ); } /** * Check if global stack is empty. * * @param string $key Context key. * * @return bool */ function global_is_empty( $key ) { return plugin( 'globals' )->is_empty( $key ); }
SILENT KILLER Tool