Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Show Table of Contents

Add PHP object in blade engine

If you want to use custom PHP classes in the blade engine, this hook is ideal for that.

function atkp_modify_bladedata_callback($bladedata) {
    $bladedata['eigenes'] = 'hallo';
    //Die Variable "$eigenes" ist nun in der BladeEngine verfügbar.

    return $bladedata;  
}

add_action('atkp_modify_bladedata', 'atkp_modify_bladedata_callback');
ParameterDescription
bladedataThe array which holds all classes for the engine.
Return valueReturn value is the array.
Updated: 2. March 2023
Still not using affiliate-toolkit?
Setup takes less than 5 minutes and you can start to import first products!
Learn more about the packagesDownload FREE Version
Still need help?
Submit Your Question
Please give us the details, our support team will get back to you.
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram